annot_char_grep: Annotate a character statement with ontology terms

View source: R/Ontology_operations_main.R

annot_char_grepR 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")

sergeitarasov/ontoFAST documentation built on Aug. 5, 2022, 4:20 a.m.