# Typical usage for gene set enrichment analysis:
# Biological process terms based on BioC annotation (for human)
gs <- get.go.genesets("hsa")
# eq.:
# gs <- get.go.genesets(org="hsa", onto="BP", mode="GO.db")
# Alternatively:
# downloading from BioMart
# this may take a few minutes ...
gs <- get.go.genesets(org="hsa", mode="biomart")
Run the code above in your browser using DataLab