Build data and AI skills | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ontologyIndex (version 2.2)

ontology_index: Create ontology_index object from vectors and lists of term properties

Description

Create ontology_index object from vectors and lists of term properties

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.