Prepare data for computing interaction values.
prepareData2computeInteraction.Rd
This function prepares the data for computing interaction values between variables.
It filters the dataActual
data frame by selecting only the rows where the categorical variables
specified in categorical_vars
are at their reference levels.
Arguments
- categorical_vars
A character vector containing the names of categorical variables.
- categorical_varsInInteraction
A character vector containing the names of categorical variables involved in interactions.
- dataActual
A data frame containing the actual data with categorical variables and associated expression levels.