Description Usage Arguments Author(s) References See Also Examples
View source: R/showVarExplained.r
Creates a bar plot displaying the variance explained from a joint and individual variation explained (JIVE) decomposition. Shows the percentage of variance attributed to each of joint structure, individual structure, and residual variance.
1 | showVarExplained(result, col = c("grey20", "grey43", "grey65"))
|
result |
An object of class "jive". |
col |
A vector for the colors of the bars in the plot. |
Michael J. O'Connell and Eric F. Lock
Lock, E. F., Hoadley, K. A., Marron, J. S., & Nobel, A. B. (2013). Joint and individual variation explained (JIVE) for integrated analysis of multiple data types. The Annals of Applied Statistics, 7(1), 523-542.
O'Connell, M. J., & Lock, E.F. (2016). R.JIVE for Exploration of Multi-Source Molecular Data. Bioinformatics advance access: 10.1093/bioinformatics/btw324.
1 2 3 4 5 6 7 8 | ##Load JIVE results (using default settings) for simulated data
##as in Section 2.4 of Lock et al., 2013,
##with rank 1 joint structure, and rank 1 individual structure for each dataset
data(SimResults)
# Visualize results
showVarExplained(Results)
# showVarExplained is also called by the "jive" S3 class default plot method
plot(Results)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.