readXenium.Rd
Read Xenium output
readXenium(
data_dir,
keep_type = "Gene Expression",
feature_named_by = "Symbol",
tiff_path = NULL,
method_name = "10x"
)
a character specifying a single output directory as returned by Space Ranger, corresponding to one 10x Genomics Xenium sample.
a character vector indicating the type of features to be included in the object. By default it is set to `"Gene Expression"`.
a character indicating the way that the features are named. By default it is set to `"Symbol"`.
a character specifying the path of a tiff file output from BIDCell.
a character specifying the name of the method.
A SpatialExperiment object
tenX_output_dir <- system.file("extdata/10x_output_subset", package = "CellSPA")
tenX_output_tif <- system.file("extdata/10x_output_subset/10x_from_csv_subset.tif",
package = "CellSPA")
spe_10x <- readXenium(tenX_output_dir,
tiff_path = tenX_output_tif)