Description Usage Arguments Value Examples
View source: R/getMostExpressedGenes.R
This function calculates the most expressed genes for one or multiple grouping variables in the meta data of the provided Seurat object.
1  | getMostExpressedGenes(object, assay = "RNA", groups = NULL)
 | 
object | 
 Seurat object.  | 
assay | 
 Assay to pull transcripts counts from; defaults to 'RNA'.  | 
groups | 
 Grouping variables (columns) in   | 
Seurat object with most expressed genes stored for every group level of the
specified groups stored in object@misc$most_expressed_genes.
1 2 3 4 5 6 7  | pbmc <- readRDS(system.file("extdata/v1.3/pbmc_seurat.rds",
  package = "cerebroApp"))
pbmc <- getMostExpressedGenes(
  object = pbmc,
  assay = 'RNA',
  groups = c('sample','seurat_clusters')
)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.