get_shortened_names: Get human readable, shortened (where possible) ontological...

Description Usage Arguments Value Examples

View source: R/data.R

Description

Get human readable, shortened (where possible) ontological term names

Usage

1

Arguments

ontology

ontology_index object

terms

Character vector of ontological terms

Value

Character vector

Examples

1
2
3
library(ontologyIndex)
data(hpo)
get_shortened_names(hpo, c("HP:0001873", "HP:0011877"))

Example output

                      HP:0001873                       HP:0011877 
              "Thrombocytopenia" "Increased Mean Platelet Volume" 

ontologyPlot documentation built on Feb. 10, 2021, 5:06 p.m.