Description Usage Arguments Value See Also
View source: R/get_ontologies.R
get_ontology
uses hyperGTest
to calculate
hypergeometric statistics (for over-representation of each GO term);
GOstats::summary
to return the summarized
results with adjusted p values using p.adjust
function
and the method "bonferroni".
1 | get_ontology(gene_id, universe, annotation, ontology, set_label)
|
gene_id |
Character vector of unique ENTREZ gene identifiers of interest. |
universe |
Character vector of unique ENTREZ gene identifiers to be used as a universe. |
annotation |
Character string with the name of the annotation data package. |
ontology |
Character string specifying the ontology, must be either "BP", "CC" or "MF". |
set_label |
Character string used to populate the column
set_label. This parameter is optional. It is used for
identification of results when |
Data frame with the following columns: goid, pvalue, odds_ratio, exp_count, count, size, term, p_bonferroni, ontology, set_label (if provided).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.