query_ctd_dise: Function to query CTDbase using disease terminology

Description Usage Arguments Value Examples

View source: R/query_ctd_dise.R

Description

This function cheks for CTDbase disease vocabulary and query CTDbase for each one, downloading disease-gene interactions, chemicals interactions, associated desease, associated KEGG pathways and associated GO terms.

Usage

1
2
query_ctd_dise(terms, filename = "CTD_diseases.tsv.gz", mode = "auto",
  verbose = FALSE)

Arguments

terms

Character vector with the diseases used in the query.

filename

(default "CTD_diseases.tsv.gz") Name of the file to store the CTDbase disease vocabilary.

mode

(default "auto") Mode passed to download.file.

verbose

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

Value

An object of class CTDdata.

Examples

1
rst <- query_ctd_dise( terms = "Asthma", verbose = TRUE )

CTDquerier documentation built on Oct. 31, 2019, 2:57 a.m.