Description Usage Arguments Examples
View source: R/ouput.cytoscape.R
This fucniton allows user to get the two files needed for Cytoscape to visulize the drug-pathway network
1 2 3 4 | make.cytoscape.network(
path.analysis.res = path.analysis.res,
pathway.FDR.cutoff = 0.1
)
|
path.analysis.res |
The pathway analysis results. Output of pathway.analysis(). |
pathway.FDR.cutoff |
The FDR threshold to select significant drug specific pathways and the default is 0.1. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## 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)
## get the pathway analysis ouput that can be loaded into Cytoscape for visulization
network.cytoscape = make.cytoscape.network(path.analysis.res = path.analysis.res,
pathway.FDR.cutoff = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.