fetch_ontology_tree.Rd
Returns the full ontology as a recursive nested list.
fetch_ontology_tree(depth = 4L)
Tree depth to return (1–10, default 4).
A recursive nested list: list(tcm_id, name, name_cn, level, children = list(...)).
list(tcm_id, name, name_cn, level, children = list(...))
if (FALSE) { # \dontrun{ tree <- fetch_ontology_tree(depth = 2) } # }