The function runs nonlinear optimization of TV-L2-penalty to train compression for a single gene

TVMagic(need, train, seed = 1218, lambda = 0.1)

Arguments

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

Value

list with coefficients and predictive R2