computeCellCounts | R Documentation |
Get cell counts with metadata for each sample
computeCellCounts(sce, annotation, sampleIDs)
sce |
|
annotation |
string indicating column in |
sampleIDs |
string indicating column in |
matrix
storing cell counts
library(muscat)
library(SingleCellExperiment)
data(example_sce)
counts <- computeCellCounts(example_sce, "cluster_id", "sample_id")
counts[1:4, 1:4]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.