Description Usage Arguments Value Examples
View source: R/get_term_definition.R
This function accesses the HPO API to get a description/ definition of an
HPO term. If a line_length
> 0 is passed to the funtion, it will add
newlines every nth word. This can be useful when displaying the description
in plots with limited space.
1 | get_term_definition(ontologyId, line_length = FALSE)
|
ontologyId |
A HPO term Id (e.g. "HP:0000002") <string> |
line_length |
The number of desired words per line <int> |
A disease definition <string>
1 2 3 4 5 | ## Not run:
ontologyId = "HP:0000002"
get_term_definition(ontologyId)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.