View source: R/alt_Parkhomenko.R
SCCA_Parkhomenko | R Documentation |
Function to perform Sparse CCA based on Waaijenborg et al. (2008) REFERENCE Parkhomenko et al. (2009), "Sparse Canonical Correlation Anlaysis with Application to Genomic Data Integration" in Statistical Applications in Genetics and Molecular Biology, Volume 8, Issue 1, Article 1
SCCA_Parkhomenko(
x.data,
y.data,
n.cv = 5,
lambda.v.seq = seq(0, 0.2, by = 0.02),
lambda.u.seq = seq(0, 0.2, by = 0.02),
Krank = 1,
standardize = TRUE
)
x.data |
Matrix of predictors (n x p) |
y.data |
Matrix of responses (n x q) |
n.cv |
Number of cross-validation folds (default is 5) |
lambda.v.seq |
Vector of sparsity parameters for Y (default is a sequence from 0 to 1 with step 0.1) |
lambda.u.seq |
Vector of sparsity parameters for X (default is a sequence from 0 to 1 with step 0.1) |
Krank |
Number of canonical components to extract |
standardize |
Standardize (center and scale) the data matrices X and Y (default is TRUE) before analysis |
A list with elements:
Canonical direction matrix for X (p x r)
Canonical direction matrix for Y (q x r)
Canonical correlations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.