View source: R/GroupLassoHurdle.R
makeModel | R Documentation |
Generate a design matrix corresponding to the 2-1-0 hurdle
makeModel( zif, nodeId, fixed = NULL, center = TRUE, scale = FALSE, conditionalCenter = TRUE, tol = 0.001 )
zif |
zero-inflated covariates |
nodeId |
names to be used for nodes. 'colnames' of 'zif' will be used if provided. |
fixed |
optional matrix of fixed predictors |
center |
center design matrix |
scale |
scale design matrix |
conditionalCenter |
in positive predictors, center only the non-zero components (design matrix will still be centered, and orthogonal to indicators) |
tol |
tolerance for declaring a parameter equal to zero |
design matrix, with attribute fixedCols giving indices of unpenalized intercept columns. Each gene appears in adjacent columns with its continuous component first, followed by its binarization.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.