download_ctd_chem | R Documentation |
This function download the "Chemical vocabulary" file (CTD_chemicals.tsv.gz
)
from http://ctdbase.org/downloads
.
download_ctd_chem(verbose = FALSE, ask = TRUE)
verbose |
(default |
ask |
(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" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.