Hi all,
I am trying to use a fitnessEffect() callback to model loss-of-function mutations where individuals have decreased fitness when they have at least one mutation on both of their haplosomes. I chose to use fitnessEffect() because it is implemented per individual rather than per mutation per individual so that compound heterozygosity can have the same impact on fitness as homozygosity. My goal was to define fitnessEffect() to return a constant set in command line, DELTA, if the individual has a mutation on both copies and return 1 otherwise. From my understanding a fitness of 1 would be neutral (since all other fitness for the individual would be multiplied by 1), so DELTA would be set between 0 and 1 and homozygosity/compound heterozygosity would be more strongly selected against as DELTA gets smaller. However, when I look across multiple runs comparing DELTA=0.1 with DELTA=1.0, I see more homozygosity/compound heterozygosity for the smaller DELTA value (the opposite of what I had anticipated). The script is included below if anyone has any ideas of what I am doing wrong or debugging tips it would be very much appreciated!
Best,
Grace
} --
SLiM forward genetic simulation: http://messerlab.org/slim/
---
You received this message because you are subscribed to the Google Groups "slim-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slim-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/slim-discuss/1a521214-1322-4617-a434-cbb3f25691dan%40googlegroups.com.