View source: R/drugTargetAnnotations_Fct.R
processDrugage | R Documentation |
Download Drug Age data from genomics.senescence.info/drugs. Process the data and write it out as a TSV spreadsheet.
processDrugage(drugagefile=file.path(config$resultsPath,"drugage_id_mapping.xls"), redownloaddrugage=TRUE,config=genConfig())
drugagefile |
The name of the output file. |
redownloaddrugage |
If true, download the data file. Otherwise assume the file is already downloaded. |
config |
General configuration. See |
Output is written to drugagefile
.
Thomas Girke
tryCatch({ config = genConfig(chemblDbPath= system.file("extdata", "chembl_sample.db", package="drugTargetInteractions")) processDrugage("druage_id_mapping.xls",TRUE,config) }, error=function(e){ message("Failed to run processDrugage(), please try again later") } )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.