Load a 10X Genomics Visium Image

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

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

Value

A VisiumV2 object