download_ctd_chem {CTDquerier} | R Documentation |
This function download the "Chemical vocabulary" file (CTD_chemicals.tsv.gz
)
from http://ctdbase.org/downloads
.
download_ctd_chem(filename = "CTD_chemicals.tsv.gz", mode = "auto", verbose = FALSE)
filename |
(default |
mode |
(default |
verbose |
(default |
The field included in the file (CTD_chemicals.tsv.gz
) are:
ChemicalName
ChemicalID (MeSH identifier)
CasRN (CAS Registry Number, if available)
Definition
ParentIDs (identifiers of the parent terms; '|'-delimited list),
TreeNumbers (identifiers of the chemical's nodes; '|'-delimited list),
ParentTreeNumbers (identifiers of the parent nodes; '|'-delimited list),
Synonyms ('|'-delimited list)
DrugBankIDs ('|'-delimited list)
Passed name into filename
argument if it could be download
1
otherwise.
download_ctd_chem() file.exists( "CTD_chemicals.tsv.gz" )