SPATA2
from platform XeniuminitiateSpataObjectXenium.Rd
initiateSpataObjectXenium(sample_name, directory_xenium, verbose = TRUE)
A SPATA2
object from the Xenium platform. Default for pt_size
is
set to 0.1 which might need adjustment.
The function requires a directory containing the output files from a 10x Genomics Xenium experiment
specified with the argument directory_xenium
. This directory (below denoted as ~) must include the following
sub-directories:
~/cell_feature_matrix: A folder that contains the following files:
~/cell_feature_matrix/barcodes.tsv.gz: The cell barcodes.
~/cell_feature_matrix/features.tsv.gz: The feature (gene) names.
~/cell_feature_matrix/matrix.mtx.gz: The raw count data matrix.
~/cells.csv.gz: The cellular positions.
Xenium works in micron space. The coordinates of the cellular centroids are provided in unit um. Therefore no pixel scale factor must be computed or set to work with SI units.