Description Usage Arguments Details Value Author(s) References See Also Examples
Given a FWER threshold, this function refines the results from go_enrich()
like described in the elim algorithm of [1].
This algorithm removes genes from significant child-categories and then checks whether a category is still significant.
This way significant results are restricted to more specific categories.
1 |
res |
list() returned from |
fwer |
numeric() FWER-threshold. Categories with a FWER < |
fwer_col |
numeric() or character() specifying the column of |
annotations |
optional data.frame() with custom annotations. Only needed if |
For each domain a p-value is found by interpolation, that corresponds to the input FWER threshold. Since GO-domains are independent graphs, the same FWER will correspond to different p-values, e.g. in 'molecular_function' and 'biological_process'.
a data.frame() with p-values after refinement for categories that were significant in go_enrich()[[1]]
given the FWER-threshold.
Steffi Grote
[1] Alexa, A. et al. (2006). Improved scoring of functional groups from gene expression data by decorrelating GO graph structure. Bioinformatics 22, 1600-1607.
1 2 3 4 5 6 7 8 9 | ## perform enrichment analysis for some genes
gene_ids = c('NCAPG', 'APOL4', 'NGFR', 'NXPH4', 'C21orf59', 'CACNG2', 'AGTR1',
'ANO1', 'BTBD3', 'MTUS1', 'CALB1', 'GYG1', 'PAX2')
input_hyper = data.frame(gene_ids, is_candidate=1)
res_hyper = go_enrich(input_hyper, n_randset=100, silent=TRUE)
head(res_hyper[[1]])
## perform refinement for categories with FWER < 0.1
refined = refine(res_hyper, fwer=0.1)
refined
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.