rdinnager / slimr

Run and Analyse SLiM Population Genetics Forward Simulations from R.
https://rdinnager.github.io/slimr
Other
7 stars 1 forks source link

slim_extract_genlight errors with ploidy #60

Closed PetaLHill closed 1 year ago

PetaLHill commented 2 years ago

Hey Russell, as per my email, the genlight object that results from the above has ploidy issues. I looked a bit more at it today and gl@ploidy results in "NULL" but when I look at ploidy for each individual, it's either 1,2,or 3. The 3's probably come from the stacking policy as you mentioned, I'm not sure about the 1's. setting ploidy to 2 allows further downstream analysis but I do wonder what this is doing to the genotypes inside the genlight object itself. Anyway, thanks for your help! Peta

rdinnager commented 1 year ago

This should be fixed. Let me know if you still see this after installing the latest version.