scRNA-seq icon indicating copy to clipboard operation
scRNA-seq copied to clipboard

Error in CellsByIdentities(object = object, cells = cells)

Open luenhchang opened this issue 4 years ago • 1 comments

Hi,

I got an error while running the following code

# Filter out low quality reads using selected thresholds - these will change with experiment
filtered_seurat <- subset(x = merged_seurat, 
                         subset= (nUMI >= 500) & 
                           (nGene >= 250) & 
                           (log10GenesPerUMI > 0.80) & 
                           (mitoRatio < 0.20))

The error: Error in CellsByIdentities(object = object, cells = cells) : Cannot find cells provided

Could it be that the meta data with renamed variables are causing the error?

luenhchang avatar Feb 04 '21 05:02 luenhchang

The subset function is working fine if I skip running [email protected] <- metadata

luenhchang avatar Feb 04 '21 21:02 luenhchang