getAnnotation: Get annotation derived from annotation file

Description Usage Arguments Value Examples

Description

This method allows to retrieve annotation from MgsaSets or GAFReader class object in form of list contains GO term id's as keys and Gene ID's as values

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
getAnnotation(object)

## S4 method for signature 'AnnotationReader'
getAnnotation(object)

## S4 method for signature 'list'
getAnnotation(object)

## S4 method for signature 'MgsaSets'
getAnnotation(object)

## S4 method for signature ''NULL''
getAnnotation(object)

Arguments

object

- Object of mgsa package MgsaSets class or FoldGO GAFReader class

Value

list contains GO term id's as keys and Gene ID's as values

Examples

1
2
3
4
5
6
7
## Not run: 
gaf_path <- system.file("extdata", "gene_association.tair.lzma",
                           package = "FoldGO", mustWork = TRUE)
gaf <- GAFReader(file = gaf_path, geneid_col = 10)
getAnnotation(gaf)

## End(Not run)

FoldGO documentation built on Nov. 8, 2020, 7:50 p.m.