-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(admin game init): add genetic values visualisation
For that I had to refactor how the genetic values are generated. (cf. discussion on #37) I used a simulation approach where I simulate the genotypes and marker effects and then calculate the genetic values. This is not the best in my opinion since the simulation of the genotypes is a bit slow (~3s), fortunately the genotypes are simulated only once (when the "game initialisation" windows apprears) as this simulation do not depends an any parameter for now. However, the marker effects simulation and genetic values calculation are done every time `sigma_a2` or the pleiotropy parameters change. This calculation takes a bit of time and the plots update is not 100% smooth but it is acceptable (on my hardware).
- Loading branch information
1 parent
fe8a2f2
commit bb3314d
Showing
3 changed files
with
410 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.