View source: R/query_ctd_chem.R
query_ctd_chem | R Documentation |
This function checks for CTDbase gene vocabulary and query CTDbase for each one, downloading chemical-genes interactions, associated diseases, associated KEGG pathways and associated GO terms.
query_ctd_chem(terms, max.distance = 10, ask = FALSE, verbose = FALSE)
terms |
Character vector with the chemicals used in the query. |
max.distance |
(default |
ask |
(default |
verbose |
(default |
An object of class CTDdata
.
# Example in a tryCatch, since we are performing a connection to a server we might # get a refused connection due to a server rejection. Evaluate the recieved HTTP # message to understand if the server is not available or if your IP adress is temporarly restricted rst <- tryCatch({query_ctd_chem( terms = c( "Iron", "Air Pollutants" ), verbose = TRUE )}, error = function(w){NULL})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.