| cmpIdMapping {drugTargetInteractions} | 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
cmpIdMapping("cmp_ids.rds",rerun=FALSE)