read10XImage-methods: Read ST metadata.

read10XImageR Documentation

Read ST metadata.

Description

Read the tissue image, the scale factor and the barcodes of the spatial transcriptomics metadata and add them to the respective assay metadata.

Usage

read10XImage(
  object,
  assay.type = "ST",
  sample_names,
  image_paths,
  scalefactor_paths,
  tissue_paths
)

## S4 method for signature 'CellRouter'
read10XImage(
  object,
  assay.type = "ST",
  sample_names,
  image_paths,
  scalefactor_paths,
  tissue_paths
)

Arguments

object

the CellRouter object.

assay.type

character; the type of data to use.

sample_names

character; names of the tissue samples.

image_paths

character; file path of the tissue image (png format).

scalefactor_paths

character; file path of the scale factor (json format).

tissue_paths

character; file path of the positions of tissue barcodes (csv format).

Value

the CellRouter object.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.