intersection_with_descendants: Intersect a set of terms with the descendants of a given set...

Description Usage Arguments Value See Also Examples

View source: R/descendants.R

Description

Intersect a set of terms with the descendants of a given set of roots

Usage

1

Arguments

ontology

ontology_index object.

roots

Character vector of IDs for terms with respect to which descendants are to be defined.

terms

Character vector of ontological terms.

Value

Character vector of terms

See Also

exclude_descendants, prune_descendants

Examples

1
2
data(hpo)
intersection_with_descendants(hpo, c("HP:0001872", "HP:0000707"), c("HP:0001873", "HP:0011877"))

oganm/ontologyIndexOgfork documentation built on Oct. 11, 2019, 2:53 a.m.