bigstatsenet: Elastic-net for compressed sensing using bigstatsr

Description Usage Arguments Value

View source: R/bigstatsenet.R

Description

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

Usage

1
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


bhattacharya-a-bt/DeCompress documentation built on March 28, 2021, 3:52 a.m.