scRNA-seq
scRNA-seq copied to clipboard
Error in CellsByIdentities(object = object, cells = cells)
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?
The subset function is working fine if I skip running
[email protected] <- metadata