scRNA-seq_online
scRNA-seq_online copied to clipboard
v5 issue with GetAssay()
Once you have run:
# Filter out low quality cells 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))
You will need to use the JoinLayers():
filtered_seurat <- JoinLayers(filtered_seurat)
Now when you run GetAssayData, it should work without an error:
# Extract counts
counts <- GetAssayData(object = filtered_seurat, slot = "counts")