Skip to contents

This function generates actual interaction values for three fixed effects in a dataset. It takes the labels of the three fixed effects, the dataset, and the reference values for the categorical variables. The function computes the actual interaction values and returns a data frame containing the geneID, the term description, and the actual interaction values.

Usage

generateActualInteractionX3_FixEff(
  labelsInInteraction,
  l_categoricalVarsInInteraction,
  data2computeInteraction,
  l_RefInCategoricalVars
)

Arguments

labelsInInteraction

A character vector of labels for the three fixed effects.

l_categoricalVarsInInteraction

A list of categorical variable names corresponding to the three fixed effects.

data2computeInteraction

The dataset on which to compute the interaction values.

l_RefInCategoricalVars

A list of reference values for the categorical variables.

Value

A data frame with geneID, term description, and actual interaction values.