find_entry: Find an ontology term based on value of an element

Description Usage Arguments Author(s)

Description

Searches for a string in an element of an ontology and returns a logical vector, which could be used to subset the ontology.

Usage

1
find_entry(ontology, element, string)

Arguments

ontology

a list (of class ontology) in which to look

element

in which element of the ontology should the search be done, in disease ontology, you could e.g. provide "xref" to look at cross-references, or "id" to look at specific entries

string

a character string to search for, e.g. "ICD10CM:I10".

Author(s)

Daniel Lindholm


dlindholm/oboe documentation built on May 15, 2019, 9:18 a.m.