Description Usage Arguments Value Author(s) References See Also Examples
shortestPathsGraph: Construct a subgraph of KEGG global graph connecting drug targets and disease-related genes.
1 | shortestPathsGraph(drug_targets, disease_genes, ggraph)
|
drug_targets |
the vector of drug target genes |
disease_genes |
the vector of disease-related genes |
ggraph |
KEGG global graph as object of type |
An object of class graphNEL
encoding
the a subgraph of KEGG global graph
Azam Peyvandipour and Sorin Draghici
Draghici S., et.al.: "A systems biology approach for pathway level analysis". Genome Research, 17, 2007.
1 2 3 4 5 6 7 8 9 10 11 12 | #obtain KEGG global graph gg
gg<-keggGlobalGraph()
#drug target genes can be obtained from The Comparative
#Toxicogenomics Database (CTD)
drug_targets<-c("hsa:9368","hsa:2322", "hsa:3932", "hsa:4067", "hsa:6714")
#disease-related genes can be obtained from The Comparative
#Toxicogenomics Database (CTD)
disease_genes<-c("hsa:1832" ,"hsa:5073" ,"hsa:5328")
#obtain drug-disease network
mygraph<-shortestPathsGraph(drug_targets,disease_genes,gg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.