get_node_friendly_long_names {ontologyPlot} | R Documentation |
Split up node labels across lines so they fit in nodes better
Description
Split up node labels across lines so they fit in nodes better
Usage
get_node_friendly_long_names(ontology, terms, official_names = FALSE)
Arguments
ontology |
|
terms |
Character vector of ontological terms |
official_names |
Logical value indicating whether to use the exact names from the ontology. Otherwise, shortened, capitalised names are used. |
Value
Character vector.
Examples
library(ontologyIndex)
data(hpo)
get_node_friendly_long_names(hpo, c("HP:0001873", "HP:0011877"))
[Package ontologyPlot version 1.7 Index]