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