formatTopGO {OmaDB} | R Documentation |
The function to create a list of GO annotations that is compatible with topGO from protein objects in roma
formatTopGO(geneList, format)
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' |
a list containing the GO2geneID or geneID2GO information
geneList = list(getData(type="protein",id="YEAST58"),getData(type="protein",id="YEAST00059")) annotations = formatTopGO(geneList,format="geneID2GO")