query_ctd_dise {CTDquerier}R Documentation

Function to query CTDbase using disease terminology

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

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

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

[Package CTDquerier version 1.2.0 Index]