Description Usage Arguments Value Examples
Add a data column for each droplet giving the percentage of raw reads/UMIs
that align to genes given in genes
. The column name is specified by
name
.
1 | get_gene_pct(x, genes, name)
|
x |
An SCE object. |
genes |
Genes to calculate percentage of in counts. |
name |
Column name to place in dropl_info. |
An SCE object.
1 2 3 4 5 6 | # Add MT%
mt_genes <- grep(pattern="^mt-", x=rownames(mb_small@gene_data), ignore.case=TRUE, value=TRUE)
mb_small <- get_gene_pct(x = mb_small, genes=mt_genes, name="pct.mt")
# Add MALAT1
genes <- grep(pattern="^malat1$", x=rownames(mb_small@gene_data), ignore.case=TRUE, value=TRUE)
mb_small <- get_gene_pct(x = mb_small, genes=genes, name="MALAT1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.