Creates a bar plot displaying the variance explained from a JIVE decomposition. Shows the percentage of variance attributed to each of joint structure, individual structure, and residual variance.
An object of class "jive".
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.