annot_char_grep: Annotate a character statement with ontology terms

Description Usage Arguments Value Examples

View source: R/Ontology_operations_main.R

Description

Matches character statement and returns most similar ontology terms

Usage

1
annot_char_grep(ontology, char.statement, use.synonyms = TRUE, min_set = TRUE)

Arguments

ontology

ontology.

char.statement

character statement

use.synonyms

if TRUE then the synonyms are used during search. The synonyms have to be included in the ontology using syn_extract() function

min_set

if TRUE eliminates higher order inferred ontology terms

Value

The vector of matches ontology terms.

Examples

1
2
data(HAO)
annot_char_grep(HAO, "Mola on right mandible")

ontoFAST documentation built on April 29, 2021, 9:06 a.m.