View source: R/data_processing.R
singlecellexperiment_to_matrix | R Documentation |
Convert SingleCellExperiment to Matrix + annotation vector for celltypes
singlecellexperiment_to_matrix(
sce,
assay_name = NULL,
cell_type_column_name = NULL
)
sce |
SingleCellExperiment |
assay_name |
name of the assay that should be returned as matrix. (default: first in assay list) |
cell_type_column_name |
name of the column that stores the cell-type labels in the colData object of the provided SingleCellExperiment |
named list: ..$matrix: matrix object, ..$annotation_vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.