library(AnnotationHub)
library(AnnotationHubData)
meta <- data.frame(
Title = c("annot_0.1",
"drugage_build2", "drugbank_5.1.5", "cmap02", "lincs_pilot1"),
Description = c("SQLite database containing compound annotations from four sources",
"SDF file of compounds in DrugAge database",
"SDF file of compounds in DrugBank database",
"SDF file of compounds in CMAP02 database",
"SDF file of compounds in LINCS database"),
BiocVersion = rep("3.11", 5),
Genome = rep("GRCh38", 5),
# getValidSourceTypes()
SourceType = c("TSV", "XLS/XLSX", "TXT",
"TSV", "TSV"),
SourceUrl = c("https://bioconductor.org/packages/release/bioc/html/customCMPdb.html",
"https://genomics.senescence.info/drugs/dataset.zip",
"https://www.drugbank.ca/releases/latest#structures",
"https://portals.broadinstitute.org/cmap/",
"ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE92nnn/GSE92742/suppl/GSE92742_Broad_LINCS_pert_info.txt.gz"),
SourceVersion = c("0.1",
"Build 2", "5.1.5",
"Build02", "Pilot Phase 1"),
Species = rep("Homo sapiens", 5),
TaxonomyId = rep(9606, 5),
Coordinate_1_based = rep(TRUE, 5),
DataProvider = c("DrugAge, DrugBank, Broad Institute",
"DrugAge", "DrugBank",
"Broad Institute", "Broad Institute"),
Maintainer = rep("Yuzhu Duan <yduan004@ucr.edu>", 5),
RDataClass = c("character",
"character", "character",
"character", "character"),
# AnnotationHub::DispatchClassList()
DispatchClass = c("FilePath",
"FilePath", "FilePath",
"FilePath", "FilePath"),
RDataPath = c("customCMPdb/compoundCollection_0.1.db",
"customCMPdb/drugage_build2.sdf",
"customCMPdb/drugbank_5.1.5.sdf",
"customCMPdb/cmap02.sdf",
"customCMPdb/lincs_pilot1.sdf"),
Tags = c("annot", "drugage", "drugbank",
"cmap", "lincs")
)
write.csv(meta, file="inst/extdata/metadata.csv", row.names=FALSE)
AnnotationHubData::makeAnnotationHubMetadata("../customCMPdb")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.