Nested list from a table of ontology relations
Arguments
- relations
A data frame of ontology relations (the "relations" element of the list returned by
obo_parserin case its argument `tables` isTRUE).
Examples
goslim_url <-
"http://current.geneontology.org/ontology/subsets/goslim_generic.obo"
path <- tempfile()
curl::curl_fetch_disk(goslim_url, path)
obo <- obo_parser(path, tables = TRUE)
unlink(path)
rel_list <- relations_table_to_list(obo$relations)