The function runs least angle regression to train compression for a single gene

lar(need, train, seed = 1218)

Arguments

need

vector, numeric vector of gene that is needed

train

matrix, numeric expression matrix of training data

seed

numeric, random seed

Value

list with coefficients and predictive R2