View source: R/multiscaleSVDxpts.R
visualize_lowrank_relationships | R Documentation |
Compute low-rank projections, pairwise correlations, and RV coefficient, and visualize the relationships using a heatmap and pairs plot.
visualize_lowrank_relationships(
X1,
X2,
V1,
V2,
plot_title,
nm1 = "X1",
nm2 = "X2"
)
X1 |
First matrix |
X2 |
Second matrix |
V1 |
First feature matrix |
V2 |
Second feature matrix |
plot_title |
Title of the plot (optional) |
nm1 |
Name of the first matrix (default: "X1") |
nm2 |
Name of the second matrix (default: "X2") |
A list containing the heatmap, pairs plot, correlation matrix, and RV coefficient
set.seed(123)
X1 <- matrix(rnorm(100), nrow = 10, ncol = 10)
X2 <- matrix(rnorm(100), nrow = 10, ncol = 10)
V1 <- matrix(rnorm(100), nrow = 10, ncol = 10)
V2 <- matrix(rnorm(100), nrow = 10, ncol = 10)
# result <- visualize_lowrank_relationships(X1, X2, V1, V2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.