Learn R Programming

multicross (version 2.1.0)

multigene: Given two input matrices with the same number of observations but differrent number of variables, this function returns the largest canonical correlation between variables of matrix 1 (X) and those of matrix 2 (Y).

Description

Given two input matrices with the same number of observations but differrent number of variables, this function returns the largest canonical correlation between variables of matrix 1 (X) and those of matrix 2 (Y).

Usage

multigene(X, Y)

Arguments

X

is a data matrix with observations as rows and features/genes as columns.

Y

is a data matrix with observations as rows (same observations as X) and a different set of features/genes as columns.

Value

The largest canonical correlation between X and Y as described in <https://ncss-wpengine.netdna-ssl.com/wp-content/themes/ncss/pdf/Procedures/NCSS/Canonical_Correlation.pdf>.