Description Usage Arguments Details Value See Also Examples
Main function to run strum analysis and return the result as a (list of) strumFittedModel.
1 2 3 4 5 6 7 8 9 10 |
myStrumModel |
Object of class |
myStrumData |
Object of class |
step1OptimControl |
List of control parameters for |
startValueControl |
List of control parameters for strating value generation function in step2. |
step2OptimControl |
List of control parameters for |
ibdMarkers |
Character vector contaning the name of marker(s) for additive genetic variance component |
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:
initPopulation
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.
Returns a (list of) strumFittedModel object.
createStrumModel
, createStrumData
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.