Description Usage Arguments Value
Group-wise sparse principal component analysis
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
numeric matrix; data with variables as columns and samples as rows. |
groups |
boolean matrix; affiliation matrix. Does the variable in row i pertain to the group in column j? |
y |
numeric matrix; confounder matrix with rows as samples and columns as confounding factors. |
lambda |
the tuning parameter, non-negative. |
scale |
logical; should the data be scaled? |
sign_correction |
logical; should signCorrectionPCA be called? |
return_data |
logical; should data be returned? |
trace |
logical; should progress be printed? |
kernel |
the kernel to use: "linear", "gaussian". |
bandwidth |
bandwidth h for Gaussian kernel. Optional. |
A list with scores and loadings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.