annot_char_grep {ontoFAST}R Documentation

Annotate a character statement with ontology terms

Description

Matches character statement and returns most similar ontology terms

Usage

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

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

[Package ontoFAST version 1.0.0 Index]