Usage
ontology_index(id, name, parents, remove_missing = FALSE, obsolete = setNames(nm = id, rep(FALSE, length(id))), version = NULL, ...)
Arguments
id
Character vector of term IDs.
name
Character vector of term labels.
parents
List of character vectors of parents per term.
remove_missing
Logical value determining whether the parents in parent-child relationships in the ontology should be removed from the index. If there are parents which are missing, failure to remove them will lead to an error.
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.