glmnet.wrapper: Wrapper function for glmnet 'glmnet.wrapper'

Description Usage Arguments Value Examples

View source: R/dCell_functions.R

Description

Wrapper function for glmnet glmnet.wrapper

Usage

1
2
3
glmnet.wrapper(y, x, newx = NULL, newy = NULL, alpha.runs = NULL,
  parallel = F, return.type = "custom", method = "spearman",
  use = "pairwise.complete.obs", remove.outliers = FALSE)

Arguments

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.

Value

a summarized object of the glmnet function

Examples

1

raguirreg/DeconCell documentation built on May 29, 2019, 8:05 a.m.