load_ctd_chem {CTDquerier} | R Documentation

## Function to load the `.tsv.gz` file for chemicals

### Description

Function to load the `.tsv.gz` file for chemicals

### Usage

    load_ctd_chem(filename = "CTD_chemicals.tsv.gz")

### Arguments

`filename` | (default "CTD_chemicals.tsv.gz") File with the chemicals downloaded from CTDbase.

### Details

The field included in the file (`CTD_chemicals.tsv.gz`) are:

1. ChemicalName

2. ChemicalID (MeSH identifier)

3. CasRN (CAS Registry Number, if available)

4. Definition

5. ParentIDs (identifiers of the parent terms; '|'-delimited list),

6. TreeNumbers (identifiers of the chemical's nodes; '|'-delimited list),

7. ParentTreeNumbers (identifiers of the parent nodes; '|'-delimited list),

8. Synonyms ('|'-delimited list)

9. DrugBankIDs ('|'-delimited list)

### Value

A `data.frame` with the content of the file "CTD_genes.tsv.gz"

### Examples

    download_ctd_chem()
    fdl <- load_ctd_chem()
    dim( fdl )

[Package CTDquerier version 1.2.0 Index]