multigene: Given two input matrices with the same number of observations...

Description Usage Arguments Value

View source: R/multicross.R

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

1
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>.


multicross documentation built on July 8, 2020, 7:29 p.m.