Description Usage Arguments Details Value Author(s) See Also Examples
snipeR requires several data files including the STRING network database and files to map between different ID types. This function will download any missing files to a local directory.
1 | download.missing.maps(dbpath = "snipe_maps")
|
dbpath |
The path to the directory where the data files will be downloaded. Defaults to "snipe_maps" |
Several files must be downloaded for snipeR to work. If necessary, a new directory in dbpath will be created and files will be downloaded to there. If you have previously downloaded these files you may copy or symlink them to this location so you don't have to re-download them. This can save many hours of time, and we recommend it.
Because these files can be quite large, it can take several hours to finish downloading even on a fast connection. As a result, if download.missing.maps has to download several files it will require confirmation before it downloads or else it will exit the program. This will provide you the opportunity to copy or symlink pre-downloaded files to the dbpath (or point dbpath at an old download).
Note that this function will be called by snipe
so
access to it is mainly provided so that you can pre-cache the data files.
Returns TRUE
if everything succeeded.
David Nusinow dnusinow@partners.org
snipe
, string.raw.to.sqlite
, string.aliases.to.sqlite
.
1 2 | ## Not run: download.missing.maps()
## Not run: download.missing.maps(dbpath = "~/string_maps")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.