Initial formatting of Xenium data to work with Seurat and Kandinsky

prepare_xenium_seurat(path = NULL, dataset.id = "X", h5 = TRUE)

Arguments

path

character string specifying the path to the Xenium input files directory

dataset.id

character string that will be used to name the output Seurat object identity

h5

boolean, whether reading count matrix from 'cell_feature_matrix.h5' (TRUE) file or zipped 'cell_feature_matrix.tar.gz' folder (FALSE)

Value

a Seurat object containing Xenium count matrix, metadata, and additional files/file paths to be used for downstream analysis with Kandinsky functions

Details

This function will use 10X Xenium raw input data to build a new Seurat object. All Xenium input files must be stored in the same folder that will be specified to call the function