enrich_posfrac_score | R Documentation |
This function takes a specific gene expression, cell type annotation and a hyperparameter to calculate enrichment scores.
enrich_posfrac_score(gene, expr, annot, power = 1)
gene |
Gene name from the expression matrix. |
expr |
Complete expression matrix with rows as genes and columns as cells. |
annot |
Cell type annotation named vector with names as cell ids and values as cell types. |
power |
The penalty on fraction of cells expressing the genes |
Enrichment score list with cell type as names and enrichment score as values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.