View source: R/drugTargetAnnotations_Fct.R
transformTTD | R Documentation |
Integration with Therapeutic Target Database (TTD). This function downloads a data file from idrblab.org and returns it as a data frame.
transformTTD(ttdfile=file.path(config$downloadPath,"TTD_IDs.txt"), redownloadTTD=TRUE,config=genConfig())
ttdfile |
The name of the output file to write the downloaded file to. |
redownloadTTD |
If true, data file will be downloaded again. If false, we assume the file
already exists at |
config |
General configuration. See |
Returns a data frame with TTD data in it.
Thomas Girke
ttd=tryCatch( transformTTD(), error=function(e){ message("Failed to download TTD file, please try again later") } )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.