hpo_get_term_definition: Get HPO term definition

Description Usage Arguments Value Examples

View source: R/hpo_get_term_definition.R

Description

This gets the disease description from a data frame of disease descriptions. The rows names of the data frame are the HPO ID and the description column is called "description". It also adds new lines to the description so that the hover box in the web app does not get too wide. This is done by calling the newlines_to_definition function.

Usage

1
hpo_get_term_definition(ontologyId, disease_descriptions)

Arguments

ontologyId

The HPO Id of the term (string)

disease_descriptions

A data frame of disease descriptions corresponding to each HPO Id

Value

The disease description with new lines added.

Examples

1
## Not run: hpo_get_term_definition("HP:123456", disease_descriptions)

ovrhuman/HPOExplorer documentation built on Dec. 22, 2021, 5:21 a.m.