Description Usage Arguments Value See Also Examples
This function overrides the 'trans.fun' options in 'network.options' with the inverse of a degree described in Veríssimo et al. (2015) that penalizes nodes with small degree.
1 | cv.glmDegree(xdata, ydata, network, network.options = networkOptions(), ...)
|
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 |
see cv.glmSparseNet
glmNetSparse
1 2 3 4 5 | xdata <- matrix(rnorm(100), ncol = 5)
cv.glmDegree(xdata, rnorm(nrow(xdata)), 'correlation',
family = 'gaussian',
nfolds = 5,
network.options = networkOptions(min.degree = .2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.