annotateCellTypesGSEA | R Documentation |
Match deconvolved cell-types to ground truth cell-types by testing for enrichment of ground truth marker gene sets in the deconvolved transcriptional profiles. Uses fgsea Korotkevich G, Sukhov V, Sergushichev A (2019). “Fast gene set enrichment analysis.” bioRxiv. doi:10.1101/060012, http://biorxiv.org/content/early/2016/06/20/060012.
annotateCellTypesGSEA(beta, gset, qval = 0.05, ...)
beta |
cell-type (rows) x gene (columns) matrix of deconvolved cell-type transcriptional profiles |
gset |
named list where each entry is a vector of marker genes for a given ground truth cell-type. |
qval |
adjusted p-value threshold (default: 0.05) |
... |
additional options for fgsea |
A list that contains
results: A named list that contains sorted matrices for each deconvolved cell-type. The matrix rows are the ground truth cell-types ordered by significance, edge-score, and enrichment score of their gene sets in the deconvolved transcriptional profile of a given deconvolved cell-type.
predictions: a named vector where the names are the deconvolved cell-types and the values are the best matched ground truth cell-type that is also positively enriched.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.