get_term_ancestors: Extract all ancestors for distinct GO term

Description Usage Arguments Examples

Description

Extract all ancestors for distinct GO term

Usage

1
get_term_ancestors(term_vec, relation_data)

Arguments

term_vec

- vector of terms

relation_data

- ontology relation data (prepare_annotation(...)$relation_data

Examples

1
2
3
4
5
## Not run: 
    onto_data <- fsgor::read_obo("~/go.obo")
    get_term_ancestors(term_vec, onto_data$relation_data)

## End(Not run)

DanWiebe/fsgor documentation built on May 12, 2019, 12:30 a.m.