Description Usage Arguments Value Examples
View source: R/hpo_get_term_definition.R
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.
1 | hpo_get_term_definition(ontologyId, disease_descriptions)
|
ontologyId |
The HPO Id of the term (string) |
disease_descriptions |
A data frame of disease descriptions corresponding to each HPO Id |
The disease description with new lines added.
1 | ## Not run: hpo_get_term_definition("HP:123456", disease_descriptions)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.