coda_glmnet_longitudinal0 {coda4microbiome} | R Documentation |
coda_glmnet_longitudinal0
Description
internal function
Usage
coda_glmnet_longitudinal0(
x,
lrX,
idlrX,
nameslrX,
y,
x_time,
subject_id,
ini_time,
end_time,
covar = NULL,
ktop = NULL,
lambda = "lambda.1se",
alpha = 0.9,
nfolds = 10
)
Arguments
x |
abundance matrix or data frame in long format (several rows per individual) |
lrX |
log-ratio matrix |
idlrX |
indices table in the log-ratio matrix |
nameslrX |
colnames of the log-ratio matrix |
y |
outcome (binary); data type: numeric, character or factor vector |
x_time |
observation times |
subject_id |
subject id |
ini_time |
initial time to be analyzed |
end_time |
end time to be analyzed |
covar |
data frame with covariates (default = NULL) |
ktop |
given number of selected taxa or compute the best number in case it is NULL (default = NULL) |
lambda |
penalization parameter (default = "lambda.1se") |
alpha |
elastic net parameter (default = 0.9) |
nfolds |
number of folds |
Value
.
Author(s)
M. Calle - T. Susin
[Package coda4microbiome version 0.2.4 Index]