entrez<-data.frame(c("121549","51160","83878","11338","196477","9319","608","7015"))
net<-construction(input=entrez,hierarchy=0,species="human",db="Biogrid",ID.type="Entrez Gene")
res<-enrichment.annotation(net,pvalue=0.05,onto="CC")
Run the code above in your browser using DataLab