getTopGO {OmaDB} | R Documentation |
The function to create a topGO object containing the GO annotations for the given protein list.
getTopGO(annotations, format, myInterestingGenes)
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 |
topGO object
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")