# NOT RUN {
## get the Dr. Insight drug identification results
drug.ident.res = drug.ident(query.data = example.disease, cmap.ref.profiles = example.drug.profiles,
repurposing.unit = "treatment", connectivity = "negative")
## load in example pathway data
data("example.pathway")
## Performe pathway analysis (for the drugs that are identified by ident.drug())
path.analysis.res = pathway.analysis(drug.ident.res = drug.ident.res,
pathway.list = example.pathway,drug.FDR.cutoff = 0.5)
drug.pathway.network = network.graph(path.analysis.res, pathway.FDR.cutoff = 0.5,
return.adj.table = TRUE, pathway.label = TRUE)
# }
Run the code above in your browser using DataLab