Description Usage Arguments Author(s) References See Also Examples
View source: R/diagnosticPlot.R
Create diagnostic plot for understanding the roleswitch
outputs. Create a 2 by 4 panels of plots. From left to right, the top panel displays the observed N mRNA and M miRNA expression (x.o
and z.o
), the N by M seed-match matrix (c
), and the inferred total mRNA expression; the bottom panel displays the inferred probability of the M miRNAs targeting the N mRNA (miRNA-mRNA; p.x
), the probability of the N mRNA "targeting" the M miRNAs (mRNA-miRNA; p.z
), the dot product of the above two matrices (Joint) and the convergence rate (delta.p.all
).
1 | diagnosticPlot(pred)
|
pred |
Results obtained from |
Yue Li
Li, Y., ..., Zhang, Z., Inference of personalized miRNA-mRNA interactions toward redefining cancer signatures (in preparation).
1 2 3 4 5 6 7 8 9 10 11 12 | x.o <- matrix(abs(rnorm(10, mean=3)),
dimnames=list(c(1:10),"mRNA")) # mRNA expression
z.o <- matrix(abs(rnorm(4, mean=3)),
dimnames=list(c(1:4),"miRNA")) # miRNA expression
c <- matrix(rpois(40, lambda=3),nrow=nrow(x.o),
dimnames=list(c(1:10),c(1:4))) # seed match matrix
rs.pred <- roleswitch(x.o, z.o, c)
diagnosticPlot(rs.pred)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.