View source: R/sparrow_integration.R
ct.GREATdb | R Documentation |
Update a gene-centric 'GeneSetDb' object for GREAT-style enrichment analysis using a specified annotation.
Often, pooled screening libraries are constructed such that the gene targets of interest are associated with variable numbers of semi-independent screen signals (associated with, e.g., sets of alternative promoters or cis regulatory units). Such an arrangement is often unavoidable but produces to complications when performing gene set enrichent analyses. This function conforms a standard 'GeneSetDb' object to appropriately consider this form of ultiple testing during ontological enrichment analyses according to the GREAT strategy outlined by [McLean et al. (2009)](https://doi.org/10.1038/nbt.1630).
Operationally, this means that genewise sets in the provided object will be translated to the corresponding 'geneSymbol' sets provided in the annotation file.
ct.GREATdb( annotation, gsdb = sparrow::getMSigGeneSetDb(collection = c("h", "c2"), species = "human", id.type = "ensembl"), minsize = 10, ... )
annotation |
an annotation object returned by |
gsdb |
A gene-centric |
minsize |
Minimum number of targets required to consider a geneset valid for analysis. |
... |
Additional arguments to be passed to 'ct.prepareAnnotation()'. |
A new GeneSetDb
object with the features annotated genewise to pathways.
data(resultsDF) data(ann) gsdb <- ct.GREATdb(ann, gsdb = sparrow::getMSigGeneSetDb(collection = 'h', species = 'human', id.type = 'entrez')) show(sparrow::featureIds(gsdb))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.