Description Usage Arguments Value Examples
Given two PANDA objects with the same network structure, plot the Z-score comparison. The two PANDA objects should only differ in the gene expression used for the network constructions or other parameters.
1 |
x |
PANDA object - output of the |
y |
PANDA object - second PANDA object. |
hex |
TRUE/FALSE - If TRUE, bin data points to avoid over plotting. |
bins |
Number of bins to use for plotting. |
addLine |
TRUE/FALSE - to add y=x line. |
rank |
TRUE/FALSE - If TRUE, plot rank of edge weights rather than weight values. |
ggplot comparing the Z-scores between the two networks.
1 2 3 4 5 6 7 8 9 10 | data(pandaResult)
data(pandaToyData)
pandaRes <- pandaRes2 <- pandaResult
plotZ(pandaRes, pandaRes2)
panda.res1 <- with(pandaToyData, panda(motif, expression, ppi, hamming=1))
panda.res2 <- with(pandaToyData, panda(motif, expression +
rnorm(prod(dim(expression)),sd=5), ppi, hamming=1))
plotZ(panda.res1, panda.res2,addLine=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.