Description Usage Arguments Details Value Author(s) References See Also Examples
Multi-split lasso as described in Meinshausen 2009
1 | lasso.multiSplit(y, x=NULL, lambda1=NULL, nSubsampling=200, model='linear', alpha=0.05, gamma.min=0.05, gamma.max=0.95, track=FALSE, ...)
|
y |
A vector of gene expression of a probe, or a list object if x is NULL. In the latter case y should a list of two components y and x, y is a vector of expression and x is a matrix containing copy number variables |
x |
Either a matrix containing CN variables or NULL |
nSubsampling |
number of splits, default to 200 |
model |
which model to use, one of "cox", "logistic", "linear", or "poisson". Default to 'linear' |
alpha |
specify significant level to determine the non-zero coefficients in the range of 0 and 1, default to 0.05 |
gamma.min |
the lower bound of gamma |
gamma.max |
the higher bound of gamma |
lambda1 |
minimum lambda to be used, if known |
track |
track progress |
... |
other parameters to be passed to lass.cv |
This function performs the multi-split lasso as proposed by Meinshausen et al. 2009. The samples are first randomly split into two disjoint sets, one of which is used to find non-zero coefficients with a regular lasso regression, then these non-zero coefficients are fitted to another sample set with OLS. The resulting p-values after multiple runs can then be aggregated using quantiles.
A list object of class 'lol', consisting of:
beta |
coefficients |
mat |
the Q_gamma matrix as described in the paper |
residuals |
residuals, here is only the input y |
pmat |
the adjusted p matrix as described in the paper |
Yinyin Yuan
Nicolai Meinshausen, Lukas Meier and Peter Buehlmann (2009), P-values for high-dimensional regression. Journal of the American Statistical Association, 104, 1671-1681.
lasso
1 2 3 4 |
Loading required package: penalized
Loading required package: survival
Welcome to penalized. For extended examples, see vignette("penalized").
Loading required package: Matrix
Non-zero coefficients: 1
from a total of 339 predictors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.