get_x | R Documentation |
Extract expression matrix metadata from any single-cell object.
get_x(
obj,
transpose = TRUE,
n = NULL,
assay = NULL,
slot = NULL,
as_sparse = FALSE,
verbose = TRUE
)
obj |
A single-cell object supported by scKirby. See converters for a table of all supported conversions. |
transpose |
Transpose the matrix with |
n |
The maximum number of elements to return from that list. |
assay |
Name of the initial assay |
slot |
Name of component object to return |
as_sparse |
Convert to a sparseMatrix. |
verbose |
Print messages. |
A named list of matrices.
obj <- example_obj("seurat")
X <- get_x(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.