drugMolRegressionEval: drugMolRegressionEval This is the primary function that runs...

View source: R/trainAndTestMolSigs.R

drugMolRegressionEvalR Documentation

drugMolRegressionEval This is the primary function that runs continuous regression (enet) on separate train and test sets of molecular features and drug responses. It will iterate through every drug in the table to create indivdiual models of each

Description

drugMolRegressionEval This is the primary function that runs continuous regression (enet) on separate train and test sets of molecular features and drug responses. It will iterate through every drug in the table to create indivdiual models of each

Usage

drugMolRegressionEval(
  clin.data,
  mol.data,
  mol.feature,
  mol.feature.name,
  test.clin,
  test.mol,
  category = "Condition",
  doEnet = FALSE
)

Arguments

clin.data

is tidied clinical data

mol.data

is tidied table of molecular data

mol.feature

is name of column to select from mol.data, e.g. Gene

mol.feature.name

the name of teh value to select from mol.data

test.clin

tidied clinical data to test

test.mol

tidieid molecular data to test

category

can be either Condition or family

doEnet

run elastic net instead of LASSO


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