glmHub {glmSparseNet} | R Documentation

## GLMNET model penalizing nodes with small degree

### Description

This function overrides the 'trans.fun' options in 'network.options' with an heuristic described in Veríssimo et al. that penalizes nodes with small degree.

### Usage

    glmHub(xdata, ydata, network, network.options = networkOptions(), ...)

### Arguments

`xdata` | input data, can be a matrix or MultiAssayExperiment
`ydata` | response data compatible with glmnet
`network` | type of network, see below
`network.options` | options to calculate network
`...` | parameters that glmnet accepts

### Value

see glmNetSparse

### See Also

glmNetSparse

### Examples

    xdata <- matrix(rnorm(100), ncol = 5)
    glmHub(xdata, rnorm(nrow(xdata)), 'correlation', family = 'gaussian',
           network.options = networkOptions(min.degree = .2))

[Package glmSparseNet version 1.8.1 Index]