# \donttest{
# note: this example will download 2 files of approx 10MB in total
# store the downloaded files in the following directory. Here, the temporary file
# directory is used. Alternatively, consider storing this data in a more permanent location.
# e.g. output_dir="~/data/go" on unix systems or output_dir="C:/data/go" on Windows
output_dir = tempdir()
# download data files with GO annotations (note that the release/date is printed to console)
# these are then parsed with the load_genesets_go_fromfile() function
# if the files are already available at output_dir, these are used and download is skipped
genesets_asis = download_genesets_goatrepo(output_dir)
### for a basic example on how to use the data obtain here,
### refer to the example included at function documentation of: test_genesets()
# }
Run the code above in your browser using DataLab