Learn R Programming

CICA (version 1.1.1)

modRV: The modified-RV coefficient

Description

The modified-RV coefficient

Usage

modRV(X, Y)

Value

A single value, indicating the similarity between the two input matrices

Arguments

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

Author

Jeffrey Durieux

References

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

See Also

computeRVmat

Examples

Run this code
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