Hello everyone!
I’m using SLiM for my Master’s thesis in Statistics, and I'm still quite new to the software (I've been learning and experimenting for about a month now). I'm trying to build a spatial model with Isolation by Distance (IBD). I'm running into a problem that I cannot quite understand, and I would be very grateful for your help.
I want to simulate a neutral population on a 2D landscape where spatial genetic patterns depend only on the movement parameter SIGMA_MIG. I don't want spatial competition or spatial density regulation in the model. Now the individuals in my simulation tend to form spatial cluster over time, and I can see this clearly in the snapshot. The SLiM manual refers to this behavior in Section 17.1 “A simple 2D continuous-space model”, and according to the manual, clustering often appears unless some form of spatial competition is included. However, I would like to avoid spatial competition entirely, I want mobility and IBD to be driven only by SIGMA_MIG, without local density regulation.
My question is: "Is there a recommended way to prevent the formation of spatial clusters without introducing spatial competition?". And also I noticed that the dispersion of the individuals depends on the dispersal sigma, but I would like the mobility to depend only on the SIGMA_MIG.
So, this is the code I'm using (now I'm sampling at the final generation but I also tried a stochastic sampling):
defineConstant("K",1000); //carrying capacity
}
I have a background in statistics, but not in population genetics, so I apologize if my explanation is not completely clear. This is my first time using SLiM, and I just want to make sure I'm not missing a more appropriate modelling strategy in SLiM.
Thank you very much for your time and help!
Best,
Lidia Dell'Elba
--
SLiM forward genetic simulation: http://messerlab.org/slim/
Before posting, please read http://benhaller.com/slim/bugs_and_questions.html
---
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/ed9a4dd8-7c50-484d-9435-e754083b26c9n%40googlegroups.com.
Hi Ben,
Thank you very much for your clear and quick reply , it helped me understand better why the clustering appears so quickly in my simulations.
I tried implementing the model from Chotai, Wei and Messer as you suggested, and it indeed solves the issue of cluster formation by enforcing a uniform spatial distribution. However, for the purposes of my Master’s thesis I actually need to estimate the physical mobility of individuals from the genetic data. Because of that, constraining individuals to fixed cells in a grid would remove exactly the kind of spatial movement that I'm trying to study. So I guess I will accept the presence of some clustering as a consequence of neutral spatial dynamics, since movement is the component of the process that I want to model.
I have one further question: in this model, is it appropriate to introduce spatial variation in the movement parameter using a function such as the one below?
function (float) localSigma(float x, float y) {
if (x < 33.0) return 0.5;My intention is to introduce regions with different levels of mobility, while keeping everything else neutral. Before proceeding, I wanted to check whether this is a conceptually reasonable approach in SLiM.
Thank you again for your very helpful explanation, and I wish you a great day! :)
Best regards,
Lidia Dell’Elba
To view this discussion visit https://groups.google.com/d/msgid/slim-discuss/18ef0f54-8d25-4939-aa63-7c2d32ce7d0fn%40googlegroups.com.