Simon Martin

284 posts

Simon Martin banner
Simon Martin

Simon Martin

@simonhmartin

Royal Society University Research Fellow | Evolutionary biology, population genetics & genomics.

University of Edinburgh Katılım Kasım 2011
201 Takip Edilen1.1K Takipçiler
Simon Martin
Simon Martin@simonhmartin·
@WTF_R_species @mel_rosina I think he means 2019. We did a reasonably good job at quantifying fine scale introgression, and it has held up pretty well, for example for fine mapping patterns by @DickMerrill and co.
English
0
0
1
234
Simon Martin
Simon Martin@simonhmartin·
@Fischuu Yes, only frustrating when trying to write code that works with input variables that should be able to take any value without changing the behaviour of the script.
English
1
0
2
0
Daniel Fischer @fischuu@genomic.social
@simonhmartin 2:4, and 2:3 are vectors from where it samples, 2:2 is, however, an integer so R translates it to 1:2 ( as it would do with any integer). 2:2 is the same as if you would write just 2. I think it is a feature, as it wouldn't make sense to sample from a vector of length 1?!
English
1
0
1
0
Simon Martin
Simon Martin@simonhmartin·
R users, watch out for this somewhat infuriating behaviour of the sample() function. R documentation says this is a feature, not a bug.
Simon Martin tweet media
English
5
0
28
0
Simon Martin
Simon Martin@simonhmartin·
@MajaIlicZg In my case, I was sampling from 2:n, where n can be any integer >=2 (it's a stochastic simulation, so I don't know n beforehand). My script worked fine for n>2, but broke when n=2.
English
2
0
2
0
Dr. Maja Ilić
Dr. Maja Ilić@MajaIlicZg·
@simonhmartin It is not that weird: all it does is that is samples from 1 to whatever number you pick in x:x. E.g. sample(5:5, 10, replace = T) will sample 10 times between numbers 1 to 5. So why worry? Also, why even use x:x?
English
2
0
2
0
Gayatri Raina
Gayatri Raina@GayatriRaina2·
We also find that darker wings are more common in cooler regions, suggesting a role in thermoregulation in addition to predator warning. A big thanks to @simonhmartin for being an amazing PI and giving me this opportunity to work on such cool stuff!
English
1
0
4
0
Simon Martin
Simon Martin@simonhmartin·
I forgot to tag @GBIF, which made accessing all the citizen science data super easy, including making a permanent doi for the dataset.
English
0
1
3
0
Simon Martin
Simon Martin@simonhmartin·
We also find that darker wings are more common in cooler regions, suggesting a role in thermoregulation in addition to predator warning. Most excitingly, the dataset keeps growing daily as users upload images. In the future we hope to track seasonal changes and more.
English
1
0
4
0
Simon Martin
Simon Martin@simonhmartin·
Our first effort using citizen science data to study the geography of a butterfly warning pattern is out today: doi.org/10.1098/rsbl.2… Congrats to @WanzhenLiuMove for great work on this, and numerous others for many hours spent scoring thousands of butterfly phenotypes.
English
1
13
45
0
Amy Goldberg
Amy Goldberg@AmyAGoldberg·
favorite examples of post-hybridization selection? looking for a case study. hybridization in the last ~50ish generations, moderate to high rates of gene flow (>10% each pop)
English
6
3
11
0
Simon Martin
Simon Martin@simonhmartin·
@juliapgjones @LAK_Barnett Ok management to limit anthropogenic threats makes sense. But I assume a need for predator control in a given protected area is indicative that the system is unable to reach a healthy equilibrium on its own? Is my dream of entirely self-sustaining conservation areas unrealistic?
English
0
0
0
0
Julia Jones
Julia Jones@juliapgjones·
@simonhmartin @LAK_Barnett Management can include a wide range of activities. It maybe predator control, preventing agricultural expansion/draining, reducing hunting pressure.... Leaving unmanaged often doesn't mean no human intervention as often there are direct anthropogenic threats.
English
1
0
0
0