Arguments
nEnvFactors
number of environmental factors, an integer bewteen 1 and 3.
When nEnvFactors
is 1 and the number of levels for the enviromental factor
(nLevels
) is 1, there is one condition in the experiment (i.e. no
enviromental perturbation) and thus only genetic factor will be considered in the algorithm.
When nEnvFactors
is 1 and nLevels is larger than 1 or nEnvFactors
is
larger than 1, all main factor(s) and interacting facotr(s) will be included.
Examples:
If there is a temperature perturbation, then nEnvFactors
is 1;
If there is both temperature and drug treatment perturbation,
then nEnvFactors
is 2.
nLevels
number of levels for each factor, a vector with each
component being integer. The length should be equal to
nEnvFactors
.
Level
a list which specifies the levels for each factor in the
experiment. There are in total nEnvFactors
elements in the list and each
element correspsonds to certain envrironmental factor. The element is a
vector describing all levels of the environmental factor.
Default setting for the level of each factor is 1, 2, ...., nLevels[i]. (Here
nLevels[i] is the ith element of nLevels, which tells the total number of
levels for i environmental factor).
envFactorNames
a vector with names for all environmental factor(s). For example, for an
experiment with two environmental factors of temperature and drug treatment:
envFactorNames <- c( "Temperature", "Dosage" )
Default = NULL
, then the output will use "F1"
and "F2"
to indicate the
environmental factors.