A data.table containing drug identifiers and their corresponding names.
Format
A data.table with the following columns:
- drug_id
A character vector representing the drug identifier.
- drug_name
A character vector representing the name of the drug.
Details
The `drug_annot` data set provides a mapping between drug identifiers and their corresponding names. Each row represents a unique drug identifier (`drug_id`) and its associated name (`drug_name`).
The drug identifiers and names in this data set are sourced from ChEMBL, DrugBank, and CTD to extract synonyms for the same drug.
Examples
library(labyrinth)
data(drug_annot, package = "labyrinth")
# Access drug names for specific identifiers
drug_annot[drug_annot$drug_id == "2838", ]$drug_name # Imatinib
#> [1] "ALPHA-(4-METHYL-1-PIPERAZINYL)-3'-((4-(3-PYRIDYL)-2-PYRIMIDINYL)AMINO)-P-TOLU-P-TOLUIDIDE"
#> [2] "CELONIB"
#> [3] "CGP 57148"
#> [4] "CGP-57148"
#> [5] "CGP57148"
#> [6] "CGP57148B"
#> [7] "D01441"
#> [8] "ENLIVEN"
#> [9] "GLAMOX"
#> [10] "GLEEVEC"
#> [11] "GLIVEC"
#> [12] "IMATIB"
#> [13] "IMATINIB"
#> [14] "IMATINIB MESILATE"
#> [15] "IMATINIB MESYLATE"
#> [16] "IMATINIB METHANESULFONATE"
#> [17] "MESYLATE, IMATINIB"
#> [18] "MESYLONIB"
#> [19] "METHANESULFONATE, IMATINIB"
#> [20] "MITINAB"
#> [21] "NSC-716051"
#> [22] "PLIVATINIB"
#> [23] "QTI-571"
#> [24] "QTI571"
#> [25] "SHANTINIB"
#> [26] "ST 1571"
#> [27] "ST1571"
#> [28] "STI 571"
#> [29] "STI-571"
#> [30] "STI571"
#> [31] "CHEMBL1642"
#> [32] "CHEMBL941"
#> [33] "DB00619"
# Count the number of unique drugs
length(unique(drug_annot$drug_id))
#> [1] 16716
# Visualize the data
drug_id <- drug_annot$drug_id
hist(table(drug_id))