preview generates an HTML overview of a dataset without running full
segmentation.
CLI shape:
./build/baysor preview [OPTIONS] coordinates./build/baysor preview \
-c configs/xenium.toml \
-o preview.html \
data/transcripts.parquetor for Xenium-style columns:
./build/baysor preview \
-c configs/xenium.toml \
data/transcripts.parquetThe preview pipeline currently does the following:
- loads molecules
- estimates a molecule-confidence / noise model
- computes neighborhood-composition colors
- estimates a gene-structure embedding
- writes an HTML summary report
-c,--config-x,--x-column-y,--y-column-z,--z-column-g,--gene-column--qv-column--min-qv--x-min,--x-max--y-min,--y-max--z-min,--z-max-o,--output--force-2d
The default output is:
preview.html
previewaccepts a transcript table directly.- for Xenium datasets, it also accepts
experiment.xeniumand resolves the underlying transcript table automatically. - this is useful for quick sanity checks before a full segmentation run.