queryDGIdb: Query DGIdb using R

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/queryDGIdb.R

Description

Provides an interface to query DGIdb from within R using the DGIdb API. The function is implemented to reflect the as good as possible the web-interface.

Usage

1
2
3
4

Arguments

genes

A character vector of genes for which drug interactions are queried.

sourceDatabases

A character vector of source databases to be queried. To query all available databases, skip argument or use NULL. To see available options, type sourceDatabases().

geneCategories

A character vector of gene categories to be queried. To query for all gene categories, skip argument or use NULL. To see available options, type geneCategories().

interactionTypes

A character vector of interaction types to be queried. To query for all interaction types, skip argument or use NULL. To see available options, type interactionTypes().

Details

Only the first argument (genes) is required, all other arguments are optional. When optional arguments are not provided, the query considers all available possibilities for optional arguments: sourceDatabases, geneCategories, and interactionTypes.

Value

A S4 object of type rDGIdbResult.

Author(s)

Thomas Thurnherr <thomas.thurnherr@gmail.com>

References

Wagner AH, Coffman AC, Ainscough BJ, Spies NC, Skidmore ZL, Campbell KM, Krysiak K, Pan D, McMichael JF, Eldred JM, Walker JR, Wilson RK, Mardis ER, Griffith M, Griffith OL. DGIdb 2.0: mining clinically relevant drug-gene interactions. Nucleic Acids Research. 2016 Jan 4;44(D1):D1036-44. doi:10.1093/nar/gkv1165.

See Also

rDGIdbResult, rDGIdbFilters, plotInteractionsBySource

Examples

1
2
3
4
5
6
7
genes <- c("XYZA", "TNF", "IL6", "IL8")
result <- queryDGIdb(genes = genes)

result <- queryDGIdb(genes = genes,
                sourceDatabases = c("MyCancerGenome","TEND","TTD"),
                geneCategories = "CELL SURFACE",
                interactionTypes = c("activator","inhibitor"))

rDGIdb documentation built on Nov. 8, 2020, 6:47 p.m.