download_ctd_dise: Function to download diseases available in CTDbase

View source: R/download_ctd.R

download_ctd_diseR Documentation

Function to download diseases available in CTDbase

Description

This function download the "Disease vocabulary" file (CTD_diseases.tsv.gz) from http://ctdbase.org/downloads.

Usage

download_ctd_dise(verbose = FALSE, ask = TRUE)

Arguments

verbose

(default FALSE) If set to TRUE is shows relevant information of each step.

ask

(default TRUE) If TRUE it asks the the persistent location must be used.

Details

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

  1. DiseaseName

  2. DiseaseID (MeSH or OMIM identifier)

  3. Definition

  4. AltDiseaseIDs (alternative identifiers; '|'-delimited list)

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

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

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

  8. Synonyms ('|'-delimited list)

  9. SlimMappings (MEDIC-Slim mappings; '|'-delimited list)

Value

Passed name into filename argument if it could be download 1 otherwise.

Examples

download_ctd_dise()
file.exists( "CTD_diseases.tsv.gz" )

isglobal-brge/CTDquerier documentation built on Oct. 6, 2022, 1:18 p.m.