powered by
Split up node labels across lines so they fit in nodes better
get_node_friendly_long_names(ontology, terms, official_names = FALSE)
Character vector.
ontology_index object
ontology_index
Character vector of ontological terms
Logical value indicating whether to use the exact names from the ontology. Otherwise, shortened, capitalised names are used.
library(ontologyIndex) data(hpo) get_node_friendly_long_names(hpo, c("HP:0001873", "HP:0011877"))
Run the code above in your browser using DataLab