create_annotation_with_ancestry: Annotation with ancestry creator

Description Usage Arguments Value Examples

Description

Annotaion for terms taking into account True Path Rule

Usage

1
create_annotation_with_ancestry(rellist, annotlist)

Arguments

rellist

list contains child terms as keys and nearest parents as values

annotlist

list contains terms as keys and direct annotations as values

Value

list contains terms as keys and genes annotated according to True Path Rule as values

Examples

1
2
3
4
5
6
7
## Not run: 
    onto_data <- fsgor::read_obo("~/go.obo")
    annot_data <- fsgor::read_gaf("~/goa_human.gaf")
    annot_data <- fsgor::convert_annotation_wide(annot_data$data)
    create_annotation_with_ancestry(onto_data$relation_data, annot_data)

## End(Not run)

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