get_targets {signatureSearch}R Documentation

Target Gene/Protein IDs for Query Drugs

Description

This function returns for a set of query drug names/ids the corresponding target gene/protein ids. The required drug-target annotations are from DrugBank, CLUE and STITCH. An SQLite database storing these drug-target interactions based on the above three annotation resources is available in the signatureSearchData package.

Usage

get_targets(drugs, database = "all", verbose = FALSE)

Arguments

drugs

character vector of drug names

database

drug-target annotation resource; one of 'DrugBank', 'CLUE', 'STITCH' or 'all'. If 'all', the targets from DrugBank, CLUE and STITCH databases will be combined.

verbose

TRUE or FALSE, whether to print messages

Value

data.frame, one column contains the query drug names and the other target gene symbols.

See Also

dtlink_db_clue_sti

Examples

data(drugs10)
dt <- get_targets(drugs10)

[Package signatureSearch version 1.2.5 Index]