Show how to do more general types of selection (balancing, diverging etc.) #146
Replies: 2 comments 2 replies
-
To expand on your comments for the benefit of others, here is an example of how it can currently be done in AlphaSimR with the As an aside, creating a selection function that returns a single value as a function of multiple traits is a great way to incorporate crop modeling approaches and/or simulate complex epistasis.
|
Beta Was this translation helpful? Give feedback.
-
As to the documenting this behaviour, I think best to add a simple example to |
Beta Was this translation helpful? Give feedback.
-
We usually simulate directional selection.
In some cases, we might want to simulate balancing selection or diverging selection etc. While these types of selection can be done with the
selectInd()
and some scripting, it would be instructive to show how to usetrait = selectionFun(pop) ...
to simulate different types of selection - we just need an appropriateselectionFun()
...Beta Was this translation helpful? Give feedback.
All reactions