Description Usage Arguments Value Examples
View source: R/calculatePercentGenes.R
Get percentage of transcripts of gene list compared to all transcripts per cell.
1 | calculatePercentGenes(object, assay = "RNA", genes)
|
object |
Seurat object. |
assay |
Assay to pull counts from; defaults to 'RNA'. Only relevant in Seurat v3.0 or higher since the concept of assays wasn't implemented before. |
genes |
List(s) of genes. |
List of lists containing the percentages of expression for each provided gene list.
1 2 3 4 5 6 7 | pbmc <- readRDS(system.file("extdata/v1.3/pbmc_seurat.rds",
package = "cerebroApp"))
pbmc <- calculatePercentGenes(
object = pbmc,
assay = 'RNA',
genes = list('example' = c('FCN1','CD3D'))
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.