Learn R Programming

Seurat (version 5.2.0)

Read10X_Image: Load a 10X Genomics Visium Image

Description

Load a 10X Genomics Visium Image

Usage

Read10X_Image(
  image.dir,
  image.name = "tissue_lowres_image.png",
  assay = "Spatial",
  slice = "slice1",
  filter.matrix = TRUE,
  image.type = "VisiumV2"
)

Value

A VisiumV2 object

Arguments

image.dir

Path to directory with 10X Genomics visium image data; should include files tissue_lowres_image.png, scalefactors_json.json and tissue_positions_list.csv

image.name

PNG file to read in

assay

Name of associated assay

slice

Name for the image, used to populate the instance's key

filter.matrix

Filter spot/feature matrix to only include spots that have been determined to be over tissue

image.type

Image type to return, one of: "VisiumV1" or "VisiumV2"

See Also

VisiumV2 Load10X_Spatial