-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Hi developers,
I wish to use the enrichDO function in a script that I run on a computer cluster, where the nodes do not have internet access.
This leads to problems due to the package internally calling GOSemSim:::get_onto_data() which will then call load_onto from the same package. This function will then call rappdirs::user_data_dir() to obtain the user data dir, ( e.g. "~/.local/share" in linux). It will then create the dir ~/.local/share/GOSemSIM and proceed to download the file HDO.sqlite to this directory from https://yulab-smu.top/DOSE/
The download is only peformed the first time the function is called, as the file will not yet exist. However, the next time it is called, the md5 of the file will be checked. This will also require internet access, as a file is downloaded.
Of course, the function must need access to the internet to download the data the first time. However, re: the md5 checking, would it be possible to make this optional behaviour?
Perhaps something similar to the clusterProfiler:::download_KEGG() function?
Kindest regards,
Jim