Skip to contents

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",
  ...
)

Arguments

x

Data frame with column EntrezID.

chemicals_meta

Data frame with ChemicalID and ChemicalName columns.

cache_dir

Directory holding cached CTD .rda files.

pAdjustMethod

Multiple-testing correction name.

Value

A data frame of ORA enrichment results.