initiateSpataObjectXenium | R Documentation |
SPATA2
from platform XeniumThis function initiates a SPATA2
object with data generated
using the 10x Genomics Xenium
platform.
initiateSpataObjectXenium(sample_name, directory_xenium, verbose = TRUE)
sample_name |
Character value. The name with which to identify the |
directory_xenium |
Character value. Directory to a Xenium output folder. |
verbose |
Logical. If (Warning messages will always be printed.) |
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.
A SPATA2
object from the Xenium platform. Default for pt_size
is
set to 0.1 which might need adjustment.
setDefault()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.