Three parameters of this function provide more flexibility to users to control the
strum analysis in different stage.The step1OptimControl
argument is given as a list of several control parameters
that is passed directly to the function optim
in the step 1 of model fitting.
The step2OptimControl
argument is given as a list of several control parameters
that is passed directly to the function optim
in the step 2 of model fitting.
The startValueControl
argument is given as a list of 5 parameters for the function
to generate the starting values (using genetic algorithm) of model fitting in step 2. Five different parameters in the list are:
The size of initial population. The default value is the number of model parameters * 120.
nChildren
The number of children. The default value is the number of model parameters * 2.
nGenerations
The number of generation. The default value is 20.
selection1
The size of the initial selection. The default value is 15.
selection2
The size of the final selection. The default value is 15.
Note that if the analysis model includes an additive genetic variance component a
for the random effects, the value of iMarkers
is used to determine the name of
marker(s) for a
from the imported ibd file. If no values are specified for
ibdMarkers
, then, by default, all imported ibd markers that exist in the
myStrumData
object are used, analyzing one by one. Therefore, the analysis result
includes a list of strumFittedModel.