Description Usage Arguments Value
View source: R/quality_control.R
Compute quality control (QC) metrics for each control feature and cell in a Seurat object, accounting for specified control sets.
1 2 3 4 5 6 7 8 9 10 11 |
object |
Seurat object |
assay |
Name of assay to use |
calculate.mapped.reads |
Whether or not to calculate mapped reads metrics. Default is FALSE. If TRUE, will need to set molecule information |
mol.info |
Molecule information for mapped reads calculation (molecule_info.h5 files of 10x) |
total.reads |
a data.frame with column named 'total.reads', collecting total count of reads per barcode.This can be extracted from .BAM file that CellRanger output and is used to calculate mapping rate per cell. |
control.feature.list |
A list containing one or more vectors (a character vector of ensembl IDs named by feature symbols), used to identify feature controls |
use.names |
Whether or not to use feature names instead of ID. If FALSE, shall specify symbol.to.id data.frame for transferation |
symbol.to.id |
Data.frame for convertion from gene symbols to such as ENSEMBL ID, must contain at least two columns (use 'ID' and 'Symbol' as colnames) |
log10 |
Whether or not to calculate log10 transformed QC metrics |
Returns Seurat object with new meta.data storing QC metrics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.