modRV: The modified-RV coefficient

View source: R/modRV.R

modRVR Documentation

The modified-RV coefficient

Description

The modified-RV coefficient

Usage

modRV(X, Y)

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

Value

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

Author(s)

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

## 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)

CICA documentation built on July 26, 2023, 5:51 p.m.

Related to modRV in CICA...