fn_elasticnet {SPONGE} | R Documentation

## Computes an elastic net model

### Description

Computes an elastic net model

### Usage

    fn_elasticnet(x, y, alpha.step = 0.1)

### Arguments

`x` | miRNA expression matrix
`y` | gene expression vector
`alpha.step` | Step size for alpha, the tuning parameter for elastic net.

### Value

The best model, i.e. the one for which the selected alpha yielded the smallest residual sum of squares error

[Package SPONGE version 1.10.0 Index]