cclasso | R Documentation |
Implementation of the CCLasso approach (Fang et al., 2015), which is published on GitHub (Fang, 2016). The function is extended by a progress message.
cclasso(
x,
counts = F,
pseudo = 0.5,
sig = NULL,
lams = 10^(seq(0, -8, by = -0.01)),
K = 3,
kmax = 5000,
verbose = TRUE
)
x |
numeric matrix (nxp) with samples in rows and OTUs/taxa in columns. |
counts |
logical indicating whether x constains counts or fractions.
Defaults to |
pseudo |
numeric value giving a pseudo count, which is added to all
counts if |
sig |
numeric matrix giving an initial covariance matrix. If |
lams |
numeric vector specifying the tuning parameter sequences. Default
is |
K |
numeric value (integer) giving the folds of crossvalidation. Defaults to 3. |
kmax |
numeric value (integer) specifying the maximum iteration for augmented lagrangian method. Default is 5000. |
verbose |
logical indicating whether a progress indicator is shown
( |
A list containing the following elements:
cov.w | Covariance estimation |
cor.w | Correlation estimation |
lam | Final tuning parameter |
Fang Huaying, Peking University (R code)
Stefanie Peschel (documentation)
fang2015cclassoNetCoMi
\insertReffang2016cclassoGithubNetCoMi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.