Description Usage Arguments Value Note
This is a convenience function for setting the dependent fitness values of sites in an NK fitness landscape model. This allows the dependent fitness of sites to be calculated once and then referenced as mutations occur. It makes exploring this style of fitness landscape a bit more computationally friendly - as it generally isn't.
1 2 3 | set_DepbySite_ancestFitness(func_simModel = getOption("shape_simModel"),
func_const_siteBystate_fitnessMat = getOption("shape_const_siteBystate_fitnessMat"),
func_const_NK_interactionMat = getOption("shape_const_NK_interactionMat"))
|
func_simModel |
This is the fitness landscape model being simulated |
func_const_siteBystate_fitnessMat |
This is the sitewise independent fitness contributions in the fitness landscape |
func_const_NK_interactionMat |
This defines the sitewise dependencies based on the K interactions. |
Either the dependent sitewise fitness contributions in an NK fitness landscape, or NA.
There is no example as this cannot work outisde of a runSHAPE call, it requires data produced by the simulation experiment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.