formatTopGO: Format the GO annotations data

Description Usage Arguments Value Examples

View source: R/formatTopGO.R

Description

The function to create a list of GO annotations that is compatible with topGO from protein objects in roma

Usage

1
formatTopGO(geneList, format)

Arguments

geneList

the list of roma protein objects to be included in the analysis - this is where the GO annotations are extracted from

format

format for the data to be returned in - either 'GO2geneID' or 'geneID2GO'

Value

a list containing the GO2geneID or geneID2GO information

Examples

1
2
geneList = list(getData(type="protein",id="YEAST01"),getData(type="protein",id="YEAST03"))
annotations = formatTopGO(geneList,format="geneID2GO")

DessimozLab/OmaDB documentation built on Dec. 6, 2018, 2:27 a.m.