hpo_api | R Documentation |
Extract data from the Human Phenotype Ontology (HPO) using the Application Programming Interface (API).
hpo_api(
hpo_id,
type = list(NULL, "genes", "diseases")[[1]],
url = paste("hpo.jax.org/api/hpo/term", hpo_id, type, sep = "/")
)
hpo_id |
HPO ID for a given term. |
type |
Type of data to extract. Set |
url |
API entry point. See HPO API documentation for details. |
A named list or data.frame of metadata for a given HPO ID.
dat <- hpo_api(hpo_id="HP:0011420", type="diseases")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.