get_OBO(file, term_regexp = "^\\[(Term|Typedef)\\]", id = "^id: ([^ !]+).*", name = "^name: (\\.*)", parents = c("^is_a: ([^ !]+).*", "list"), obsolete = c("^is_obsolete: (true)", "logical"), remove_missing = FALSE, ...)
grep
for details on formatting the expression.ontology_index
object), and character vectors of length 1 or 2: the first element being a regular expression, the second specifying the "mode"
of the array to become the property in the returned index (see the "mode"
argument of vector
for more details).ontology_index
object.