Add a Read Count Categorical Variable to Seurat Object (based on nCount_RNA)
add_percent_mito(seu, organism = organism, seurat_assay = "gene")
A seurat object
gene
add_percent_mito(panc8)
#> An object of class Seurat
#> 34363 features across 1011 samples within 1 assay
#> Active assay: gene (34363 features, 2000 variable features)
#> 2 layers present: counts, data
add_percent_mito(baron2016singlecell, organism = "mouse")
#> An object of class Seurat
#> 14878 features across 1886 samples within 1 assay
#> Active assay: gene (14878 features, 0 variable features)
#> 2 layers present: counts, data