Description Usage Arguments Value Examples
View source: R/quality_control.R
This function computes (i) the number of reads, (ii) number of genes expressed with non-zero read counts, and (iii) percent of reads mapped to the mitochondrial genes.
1 | asurat_add_qcmetrics(obj, mt_gene_symbol)
|
obj |
An ASURAT object. |
mt_gene_symbol |
A regex pattern to match gene symbols of mitochondrial genes. |
An ASURAT object.
1 2 3 4 5 6 7 8 | data(cerv_asurat)
cerv <- asurat_make_obj(
mat_expression = cerv_asurat[["mat_expression"]],
gene_symbol = cerv_asurat[["gene_symbol"]],
gene_entrez = cerv_asurat[["gene_entrez"]],
sample_identity = cerv_asurat[["sample_identity"]]
)
cerv <- qc.addmetrics(obj = cerv, mt_gene_symbol = "^MT-")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.