This function is used to load Gene Ontology (GO) genesets from files that you
manually downloaded from the links below. This enables the use of the latest data
from GO (in contrast, Bioconductor GO data may lag behind current data considerably).
To construct genesets from available raw data, download the "gene2go" file
(the gene annotations) from below NCBI link and download the GO OBO
(ontology terms and relations to respective parent/child terms) from below
geneontology.org link. Provide the full path to the downloaded file to this function.
Both "gzipped" and "uncompressed" files are supported.
We encourage you to rename the files after your downloaded them such that
the date of download in incorporated; this ensures you can always keep track of
the GO database version that was used! For example, rename the downloaded
"gene2go.gz" file to "gene2go_2024-01-31.gz".
Download link for gene2go file; https://ftp.ncbi.nih.gov/gene/DATA/gene2go.gz
Download link for gene ontology OBO file; http://current.geneontology.org/ontology/go.obo