Calculate canonical correlation value for SmCCA given canonical weight vectors and scaling factor
Arguments
- X
A list of data each with same number of subjects.
- CCcoef
A vector of scaling factors indicating weights for each pairwise canonical correlation.
- CCWeight
A list of canonical weight vectors corresponds to each data in X.
- Y
A phenotype matrix, should have only one column.
Value
A numeric value of the total canonical correlation