View source: R/drugTargetAnnotations_Fct.R
cmpIdMapping | R Documentation |
Function to generate compound ID mappings UniChem.
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.
It will do some processing on these files and output an RDS file
at outfile
. This file can then be used in other functions,
such as drugTargetAnnot
.
cmpIdMapping(outfile=file.path(config$resultsPath,"cmp_ids.rds"), rerun=TRUE,config=genConfig())
outfile |
Path to output file. |
rerun |
If true, runs processing, otherwise does nothing. |
config |
General configuration. See |
Generates an RDS file at outfile
.
Thomas Girke
downloadUniChem
cmpIdMapping("cmp_ids.rds",rerun=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.