Add enrichment results
addEnrichments(study, enrichments, reset = FALSE)
Returns the original onStudy
object passed to the argument
study
, but modified to include the newly added data
An OmicNavigator study created with createStudy
The enrichment results from each model. The input is a
nested named list. The names of the list correspond to the model names.
Each list element should be a list of the annotation databases tested
(addAnnotations
). The names of the list correspond to the
annotation databases. Each list element should be another list of tests
(addTests
). The names correspond to the tests performed. Each
of these elements should be a data frame with enrichment results. Each
table must contain the following columns: "termID", "description",
"nominal" (the nominal statistics), and "adjusted" (the statistics after
adjusting for multiple testing). Any additional columns are ignored.
Reset the data prior to adding the new data (default:
FALSE
). The default is to add to or modify any previously added data
(if it exists). Setting reset = TRUE
enables you to remove existing
data you no longer want to include in the study.