predictExpression: Train a multi-response elastic-net regression for prediction...

Description Usage Arguments Value

View source: R/package_functions.R

Description

Train a multi-response elastic-net regression for prediction using cross-validation to select lambda

Usage

1
2
predictExpression(training_x, training_y, prediction_x,
  lambda_mse = TRUE, family = "mgaussian", ...)

Arguments

training_x

A cell by gene expression matrix of training predictor data

training_y

A cell by gene expression matrix of training outcome data

prediction_x

A cell by gene expression matrix of testing predictor data

lambda_mse

Whether to select the lambda that minimizes the cross-validation, default TRUE

family

family parameter passed on to the glmnet function, default 'mgaussian'

...

additional parameters to pass on to the glmnet function

Value

Returns a list of the predicted outcome and model fit glmnet object


seasamgo/sera documentation built on May 14, 2019, 1:57 a.m.