getInteractionEffects: Get interaction effects from generalized linear model...

View source: R/inbixGAIN.R

getInteractionEffectsR Documentation

Get interaction effects from generalized linear model regression.

Description

getInteractionEffects

Usage

getInteractionEffects(
  depVarName = "class",
  labelledDataFrame,
  regressionFamily = "binomial",
  numCovariates = 0,
  writeBetas = FALSE,
  excludeMainEffects = FALSE,
  interactOutput = "stdBetas",
  transformMethod = "",
  numCores = 2,
  verbose = FALSE
)

Arguments

depVarName

string name of class column (e.g., "class")

labelledDataFrame

data.frame with variables in columns and samples in rows.

regressionFamily

string glm regression family name.

numCovariates

numeric of included covariates.

writeBetas

logical indicating whether to write beta values to separate file.

excludeMainEffects

logical indicating whether to exclude main effect terms.

interactOutput

string output in return matrix, "indicating betas "Betas", "stdBetas", "Pvals".

transformMethod

string optional transform method.

numCores

numeric number of processor cores to use in mclapply

verbose

logical to send verbose messages to stdout.

Value

results matrix of variable by variable regression coefficients.

See Also

Other GAIN functions: dcgain(), dmgain(), fitInteractionModel(), fitMainEffectModel(), gainToSimpleSIF(), getMainEffects(), regainParallel(), regain()


insilico/npdro documentation built on July 1, 2023, 2:56 p.m.