I am trying to analyze sc-RNA data using both scater and scran. While trying to run normalization using scran via the computeSumFactors method, I get the following error. Could someone please explain me what this error means and if there a way to fix it? Appreciate all your help and suggestions, thanks!!!
ScaterObject <- newSCESet(
countData = mycountFrame,
phenoData = pheno_data
keep_feature <- rowSums(counts(ScaterObject ) > 0) > 0
ScaterObject <-ScaterObject [keep_feature,]
ScaterObject<- computeSumFactors(ScaterObject, sizes=c(20, 40, 60, 80))
Error in .local(x, ...) :
not enough cells in each cluster for specified 'sizes'
Calls: computeSumFactors ... .local -> computeSumFactors -> computeSumFactors -> .local