Description Usage Arguments Details Value See Also
View source: R/groupSparseEigen.R
Computes group-wise sparse eigenvalues and eigenvectors of a matrix.
1 2 3 4 5 6 7 8 9 |
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. |
kernel |
the kernel to use: "linear", "gaussian". |
bandwidth |
bandwidth h for Gaussian kernel. Optional. |
trace |
logical; should progress be printed? |
For each group defined in the groups
parameter,
variables not pertaining to the group see their covariance set to zero.
Eigendecomposition is then performed on that matrix.
A list containing the sparse eigenvector and eigenvalues.
eigen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.