
Run GO enrichment directly from a VISTA comparison
get_go_enrichment.RdRun GO enrichment directly from a VISTA comparison
Arguments
- x
A
VISTAobject with DE results.- sample_comparison
Comparison name to use.
- regulation
One of
"Up","Down","Both", or"All"; selects genes.- ont
GO ontology:
"BP","MF", or"CC".- from_type
Identifier type in the DE tables (default
"SYMBOL").- orgdb
OrgDb object; defaults to mouse/human based on
species.- species
Species name to infer default OrgDb.
- background
Optional background gene set; default uses all features.
- ...
Passed to
clusterProfiler::enrichGO().
Examples
if (FALSE) { # \dontrun{
v <- example_vista()
comp <- names(comparisons(v))[1]
if (requireNamespace('org.Mm.eg.db', quietly = TRUE)) {
out <- try(get_go_enrichment(v, sample_comparison = comp, ont = 'BP', from_type = 'ENSEMBL',
orgdb = org.Mm.eg.db::org.Mm.eg.db), silent = TRUE)
if (!inherits(out, 'try-error')) out
}
} # }