miniRegEval: miniRegEval Runs lasso regression on a single feature from...

View source: R/trainAndTestMolSigs.R

miniRegEvalR Documentation

miniRegEval Runs lasso regression on a single feature from tabular data and evaluates on a second set of data. This is a little more complicated than LOO analysis because we have to check for shared feature names

Description

miniRegEval Runs lasso regression on a single feature from tabular data and evaluates on a second set of data. This is a little more complicated than LOO analysis because we have to check for shared feature names

Usage

miniRegEval(
  trainTab,
  testTab,
  mol.feature = "Gene",
  feature.val = "mRNALevels",
  enet.alpha = c(1)
)

Arguments

trainTab

with column names 'AML sample',meanVal,Gene, and whatever the value of 'mol.feature' is.

testTab

with column names 'Sample', meanVal, Gene, and whatever the value of 'mol.feature' is

mol.feature

list of molecular features to be evaluated

Value

a data.frame with three values/columns: MSE, numFeatures, and Genes


PNNL-CompBio/amlresistancenetworks documentation built on Feb. 8, 2025, 11:27 a.m.