Skip to contents

Recalculate counts/features per cell for a object

Usage

sce_calcn(object)

Arguments

object

A SingleCellExperiment object

Value

a SingleCellExperiment object with nfeatures and ngenes stored in metadata

Examples


data(small_example_dataset)
sce_calcn(small_example_dataset)
#> class: SingleCellExperiment 
#> dim: 1000 200 
#> metadata(1): markers
#> assays(2): counts logcounts
#> rownames(1000): Gene_0001 Gene_0002 ... Gene_0999 Gene_1000
#> rowData names(0):
#> colnames(200): Cell_001 Cell_002 ... Cell_199 Cell_200
#> colData names(17): Mutation_Status Cell_Cycle ... nFeature_gene
#>   nCount_gene
#> reducedDimNames(3): PCA TSNE UMAP
#> mainExpName: gene
#> altExpNames(1): Spikes