cv.glmOrphan {glmSparseNet}R Documentation

GLMNET cross-validation model penalizing nodes with high 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 high degree.

Usage

cv.glmOrphan(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 cv.glmSparseNet

See Also

glmNetSparse

Examples

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

[Package glmSparseNet version 1.0.0 Index]