View source: R/drugTargetAnnotations_Fct.R
drugTargetAnnotTable | R Documentation |
Generates a drug target annotation TSV file. This file includes target information from ChEMBL, drugbank, pubchem, and chembi.
This function requires the ID mapping files "src1src2.txt.gz", "src1src22.txt.gz", and
"src1src7.txt.gz" to exist in a directory called "downloads" before being run. These
can be generated with the downloadUniChem
function.
drugTargetAnnotTable(outfile, rerun=TRUE,config=genConfig())
outfile |
The name of the output file to write the results to. |
rerun |
If true, download and generate output file. Otherwise do nothing. |
config |
General configuration. See |
Writes output file to outfile
.
Thomas Girke
downloadUniChem
config = genConfig(chemblDbPath= system.file("extdata", "chembl_sample.db", package="drugTargetInteractions")) drugTargetAnnotTable(outfile="drugTargetAnnot.xls", config=config)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.