get_ontology: Read ontology from OBO file into R

Description Usage Arguments Value See Also

View source: R/data.R

Description

Read ontology from OBO file into R

Usage

1
2
3
4
get_ontology(file, propagate_relationships = "is_a",
  extract_tags = "minimal")

get_OBO(file, propagate_relationships = "is_a", extract_tags = "minimal")

Arguments

file

File path of OBO formatted file.

propagate_relationships

Character vector of relations

extract_tags

Character value: either "minimal" or "everything", determining whether to extract only the properties of terms which are required to run functions in the package - i.e. "id", "name", "parents", "children" and "ancestors" - or extract all properties provided in the file. Defaults to "minimal".

Value

ontology_index object.

See Also

get_relation_names


oganm/ontologyIndexOgfork documentation built on Oct. 11, 2019, 2:53 a.m.