Read10X_Image: Load a 10X Genomics Visium Image

View source: R/preprocessing.R

Read10X_ImageR Documentation

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
)

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

See Also

VisiumV2 Load10X_Spatial


Seurat documentation built on May 29, 2024, 4:20 a.m.