The function runs elastic net to train compression for a single gene

bigstatsenet(need, train, seed = 1218, alpha)

Arguments

need

vector, numeric vector of gene that is needed

train

matrix, numeric expression matrix of training data

seed

numeric, random seed

alpha

numeric, between 0 and 1

Value

list with coefficients and predictive R2