powered by
The modified-RV coefficient
modRV(X, Y)
A single value, indicating the similarity between the two input matrices
first matrix, number of rows in X should corresponds to number of rows in Y
second matrix, number of rows in Y should corresponds to number of rows in X
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
if (FALSE) { #X1 <- matrix(rnorm(1000), 10) #SVD <- svd(X1) #X2 <- SVD$u[,-5] %*% diag(SVD$d[-5]) %*% t(SVD$v[,-5]) #modRV(X1,X2) }
Run the code above in your browser using DataLab