Closed HelenaLC closed 4 weeks ago
Seems fine to me on a few of my datasets, e.g.
library(scRNAseq)
sce <- BachMammaryData() # close-ish size
sce
## class: SingleCellExperiment
## dim: 27998 25806
## metadata(0):
## assays(1): counts
## rownames(27998): ENSMUSG00000051951 ENSMUSG00000089699 ...
## ENSMUSG00000096730 ENSMUSG00000095742
## rowData names(1): Symbol
## colnames: NULL
## colData names(3): Barcode Sample Condition
## reducedDimNames(0):
## mainExpName: NULL
## altExpNames(0):
class(assay(sce))
## [1] "dgCMatrix"
## attr(,"package")
## [1] "Matrix"
library(scuttle)
sce <- addPerCellQC(sce)
sum <- colSums(assay(sce))
det <- colSums(assay(sce) > 0)
all.equal(sce$sum, sum)
## [1] TRUE
all.equal(sce$detected, det)
## [1] TRUE
(On BioC 3.19, scuttle 1.14, etc.)
Closing as I wasn't able to reproduce this on another day ... maybe some dubious environment/namespace thingy that had me/my collaborators get different results using Bioc/Seurat, I dunno :/ -- Thanks!!
Hi there - apologies in advance if this is very obvious - my collaborators processed our data using
Seurat
and noticed a discrepancy between theirCount_RNA
/nFeature_RNA
and bysum
/detected
(meanwhile, % mitochondrial etc. were identical). Any clue as to what might be going on?session info: