getTopGO {OmaDB}R Documentation

Get the topGO Object function

Description

The function to create a topGO object containing the GO annotations for the given protein list.

Usage

getTopGO(annotations, format, myInterestingGenes)

Arguments

annotations

list of GO annoatations obtained from the formatTopGO()

format

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

myInterestingGenes

list of identifiers for the genes of interest or a dataframe containing them

Value

topGO object

Examples

geneList = list(getData(type="protein",id="YEAST58"),getData(type="protein",id="YEAST00059"))
annotations = formatTopGO(geneList,format="geneID2GO")
library(topGO)
getTopGO(annotations, myInterestingGenes = list("YEAST00058"), format = "geneID2GO")

[Package OmaDB version 1.2.2 Index]