Load 10X Genomics Visium Cell Segmentations
Read10X_Segmentations(
image.dir,
data.dir,
image.name = "tissue_lowres_image.png",
assay = "Spatial.Polygons",
slice = "slice1.polygons",
segmentation.type = "cell",
compact = TRUE
)A VisiumV2 object with segmentations
Path to directory with 10X Genomics visium image data;
Directory of the base spaceranger outs
Name of the tissue image to be plotted. tissue_lowres_image.png or tissue_hires_image.png
Name of assay to associate segmentations to
Name of the slice to associate the segmentations to
Which segmentations to load, cell or nucleus. If using nucleus the full matrix from cells is still used
Whether to store segmentations in only the sf.data slot; see Load10X_Spatial for details