Description Usage Arguments Details Value Examples
This function download the "Chemical vocabulary" file (CTD_chemicals.tsv.gz
)
from http://ctdbase.org/downloads
.
1 2 | 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.
1 2 | 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.