prepare_annotaion: Create annotation object from .obo and .gaf files

Description Usage Arguments Value Examples

Description

Create annotation object from .obo and .gaf files

Usage

1
prepare_annotaion(onto_path, annot_path)

Arguments

onto_path

- full path to .obo file

annot_path

- full path to .gaf file

Value

- list object contains annotation data ready for functional annnotation procedure, ontology relation data, GO terms full names, GO terms namespaces and metadata for annotation

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
    onto_path <- system.file("extdata", "goslim_plant.obo", package = "fsgor")
    annot_path <- system.file("extdata", "gene_association.tair", package = "fsgor")
    annot <- prepare_annotation(onto_path, annot_path)

    # extract annotation calculated considering GO term ancestry
    annot$annot_data

    # GO term ontology relations
    annot$relation_data

    # GO terms real names
    annot$real_names

    # GO terms namespaces
    annot$namespaces

    # annotation metadata
    annot$annot_metadata

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