Whether the terms exist in the DAG

dag_has_terms(dag, terms)

Arguments

dag

An ontology_DAG object.

terms

A vector of term IDs.

Value

A logical vector.