.glmSparseNetPrivate | R Documentation |
Calculate GLM model with network-based regularization
.glmSparseNetPrivate(
fun,
xdata,
ydata,
network,
experiment = NULL,
options = networkOptions(),
...
)
fun |
function to be called (glmnet or cv.glmnet) |
xdata |
input data, can be a matrix or MultiAssayExperiment |
ydata |
response data compatible with glmnet |
network |
type of network, see below |
experiment |
when xdata is a MultiAssayExperiment object this parameter is required |
options |
options to calculate network |
... |
parameters that glmnet accepts |
an object just as glmnet network parameter accepts:
string to calculate network based on data (correlation, covariance)
matrix representing the network
vector with already calculated penalty weights (can also be used directly with glmnet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.