Description Usage Arguments Value Examples
View source: R/dCell_functions.R
Wrapper function for glmnet
glmnet.wrapper
1 2 3 |
y |
numeric vector, in this case proportions which will be predicted |
x |
numeric matrix, in this case gene expression data from bulk tissues |
newx |
if not NULL, numeric matrix, in this case gene expression data from bulk tissues for which the proportions will be predicted for |
newy |
if not NULL, numeric vector, |
alpha.runs |
numeric vector of the alphas that will be testes |
parallel |
boolean, if TRUE then parallel |
return.type |
type of return: "custom", "model" or "all" |
method |
if newy != NULL, which correlation method will be used to calculate correlation coeficient between predicted proportions and measured ones. |
use |
usage of NAs within y, x, newx and newy |
remove.outliers |
boolan, if TRUE all outliers (as defined in boxplots) will be removed from y. |
a summarized object of the glmnet function
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.