View source: R/stellarscope_cell_qc.R
stellarscope_cell_qc | R Documentation |
This function expects that the Seurat object includes TE feature metadata.
Specifically, feattype
should be set to "TE" for TE features and te_class
should indicate whether the TE is an "LTR" or "LINE" retroelement. Seurat
objects created with load_stellarscope_seurat()
will include
the necessary metadata.
stellarscope_cell_qc(object)
object |
Seurat object (with TE feature metadata) |
The function adds metadata for the mitochondrial percentage (percent.mt
),
HERV percentage (percent.HERV
), L1 percentage (percent.L1
), and total TE
percentage (percent.TE
). Outliers are detected based on the median absolute
deviation (MAD) implemented in scuttle::isOutlier()
. Cells are excluded
based on extreme RNA count, extreme feature count, or high MT percentage.
Seurat object with cells passing QC
# Seurat object pbmc <- stellarscope_cell_qc(pbmc.orig)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.