l1Magic.Rd
The function runs nonlinear optimization of l1-penalty to train compression for a single gene
l1Magic(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