Skip to contents

Downloads and loads chebi, ecto, and hpo into the global environment.

Usage

load_annotation_data(
  to_load = c("all", "chebi", "ecto", "hpo"),
  dest_dir = tempdir()
)

Arguments

to_load

Character vector indicating which ontology to load.

dest_dir

Destination directory to store temporary data files.

Value

Invisibly returns TRUE after the ontology data is loaded into the global environment.

Examples

# load ontology
load_annotation_data(
    to_load = "ecto"
)
#> Downloading ecto.zip using curl...
#> Unzipping to C:\Users\Jason\AppData\Local\Temp\RtmpiGC2jV
#> Loading ecto.RData