get_markergenes | R Documentation |
Get top marker genes for each subcluster
get_markergenes(enriched.g, method = c("LR", "LiR"), topn = 100)
enriched.g |
A return from LRcell_gene_enriched_scores or from provided data |
method |
If LR, the return will be a list of genes; If LiR, the return will be a list of named vector with names as genes and values as enriched scores. |
topn |
Top N genes as marker genes. |
A list of top marker genes.
library(ExperimentHub) eh <- ExperimentHub::ExperimentHub() eh <- query(eh, "LRcellTypeMarkers") # eh$title enriched_genes <- eh[['EH4548']] marker.g <- get_markergenes(enriched_genes, method="LR", topn=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.