Melt.Sim.Cors {CJIVE} | R Documentation |
Converts correlations of predicted to true joint subject scores into a format conducive to ggplot2
Melt.Sim.Cors(sim.dat, r.J, p1, p2)
sim.dat |
matrix with each row representing results from a replicate in the simulation study described in CJIVE manuscript |
r.J |
(Numeric/integer) the joint rank, i.e. number of components in the joint subspace |
p1 |
number of variables/features in data set X1 |
p2 |
number of variables/features in data set X2 |
data frame with seven columns: one each for the joint variance explained in each data set, one column containing the method by which predictions were obtained, one column containing the component number (1,...,r.J),