ontology_index | R Documentation |
ontology_index
object from vectors and lists of term propertiesCreate ontology_index
object from vectors and lists of term properties
ontology_index(
parents,
id = names(parents),
name = id,
obsolete = setNames(nm = id, rep(FALSE, length(id))),
version = NULL,
...
)
parents |
List of character vectors of parents per term. |
id |
Character vector of term IDs. Defaults to the |
name |
Character vector of term labels. |
obsolete |
Logical vector indicating whether given terms are obsolete. |
version |
Version information about the ontology. |
... |
Additional arguments, each of which should be either a vector or list of term properties, each with the same length as |
animal_superclasses <- list(animal=character(0), mammal="animal", cat="mammal", fish="animal")
animal_ontology <- ontology_index(parents=animal_superclasses)
unclass(animal_ontology)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.