l2Magic.Rd
The function runs nonlinear optimization of l2-penalty to train compression for a single gene
l2Magic(need, train, seed = 1218, lambda = 0.1)
need | vector, numeric vector of gene that is needed |
---|---|
train | matrix, numeric expression matrix of training data |
seed | numeric, random seed |
lambda | numeric, penalty parameter |
list with coefficients and predictive R2