modRV | R Documentation |
The modified-RV coefficient
modRV(X, Y)
X |
first matrix, number of rows in X should corresponds to number of rows in Y |
Y |
second matrix, number of rows in Y should corresponds to number of rows in X |
A single value, indicating the similarity between the two input matrices
Jeffrey Durieux
Smilde AK, Kiers HAL, Bijlsma S, Rubingh CM, van Erk MJ (2009) Matrix correlations for high-dimensional data: the modified RV-coefficient. Bioinformatics 25(3):401–405
computeRVmat
## Not run:
#X1 <- matrix(rnorm(1000), 10)
#SVD <- svd(X1)
#X2 <- SVD$u[,-5] %*% diag(SVD$d[-5]) %*% t(SVD$v[,-5])
#modRV(X1,X2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.