Loads the cached chemical->gene-symbol mapping, maps Entrez IDs to symbols, runs ORA, and merges chemical names.
Usage
.run_ora(
x,
chemicals_meta,
cache_dir,
pAdjustMethod,
interaction_types = NULL,
gene_id_type = "symbol",
universe = NULL,
alpha = NULL,
alpha_column = NULL,
...
)Arguments
- x
Data frame with column
EntrezID.- chemicals_meta
Data frame with
ChemicalIDandChemicalNamecolumns.- cache_dir
Directory holding cached CTD
.rdafiles.- pAdjustMethod
Multiple-testing correction name.
- interaction_types
Character vector of CTD
InteractionActionsvalues to retain when building gene sets, orNULLfor all.- gene_id_type
Either
"symbol"or"entrez": the identifier used to build the TERM2GENE table and reported in theEnrichedGenescolumn.- universe
Background gene identifiers, or
NULLfor all genes in the gene sets. Converted to matchgene_id_type, so Entrez IDs may be supplied whichever mode is in use.- alpha
Significance threshold, or
NULL. When given,xis taken to be the whole result table: the rows below the threshold are tested and every row is the background.- alpha_column
Column
alphaapplies to: a name, an index, orNULLfor the second column.- ...
Forwarded to
ora(minGSSize,maxGSSize).