hpo_id_to_omop: Human Phenotype Ontology: HPO ID to OMOP

hpo_id_to_omopR Documentation

Human Phenotype Ontology: HPO ID to OMOP

Description

Mapping of HPO phenotype IDs (hpo_id) to OMOP concepts (OMOP_ID).

Usage

hpo_id_to_omop

Format

An object of class data.table (inherits from data.frame) with 16426 rows and 3 columns.

Source

hpo <- get_hpo() ids <- unique(hpo@terms) hpo_id_to_omop <- oard_query_api(ids = ids, workers=10) input_col="hpo_id" data.table::setnames(hpo_id_to_omop, toupper(gsub("concept_","OMOP_",names(hpo_id_to_omop))) ) data.table::setnames(hpo_id_to_omop, "OMOP_CODE",input_col) hpo_id_to_omop <- hpo_id_to_omop[,c(input_col,"OMOP_ID","OMOP_NAME"), with=FALSE] usethis::use_data(hpo_id_to_omop, overwrite = TRUE) @format data.table @usage data("hpo_id_to_omop")


neurogenomics/HPOExplorer documentation built on Aug. 24, 2024, 1:39 a.m.