Hi Arthur and All,
It appears I sent my response to “reply to author” and I am not entirely sure you may have received my response. So I am writing here for the group to see the conversation (and hopefully benefit from this query) and on the off chance that you did not receive an email from me.
Firstly, I would like to thank you for the detailed information and help. It is greatly appreciated and I found this information incredibly informative and helpful. I have read the attached papers (great research!) and that gave me a better understanding of fixed difference analysis along with the tutorial provided. Thank you.
I ran the fixed difference analysis with my 6 putative species and I got some interesting results that I am hoping to confirm are likely correct. Two of the species (sp2 and sp5) could find no fixed differences between them (0), which was to be expected as it is likely that my research will sink one of these species (sp5) and synonymise it with its former species (sp2). So this was great news and an interesting result. The remainder of fixed differences between each population (species) appears to match my other genetic, morphological and phylogenetic research, so that is good news too.
My concern with the following analysis and my results is that all my p-values returned as 0. This makes me question if I have done the analysis right or if this is an error and I somehow need to fix this? Could you please let me know if a p-value of 0 is possible with this analysis or unexpected? and if so, where I might have gone wrong? Any help would be greatly appreciated.
Below is my code with the output…
D <-gl.fixed.diff(hwe95, v=4)
Comparing populations for absolute fixed differences
Monomorphic loci removed
Populations, aggregations and sample sizes
Sp1 sp2 sp3 sp4 sp5 sp6
8 19 13 8 10 15
D$fd
Sp1 sp2 sp3 sp4 sp5
Sp2 840
Sp3 931 208
Sp4 858 161 262
Sp5 893 0 221 173
Sp6 1002 586 685 606 640
D2 <- gl.collapse (D, tpop=1, verbose =3)
> D2 <-gl.collapse(D, tpop=1, verbose =3)D2$fd
Sp1 sp2+ sp3 sp4
D3 <-gl.collapse (D2, tpop=1, verbose =3)
D3 <- gl.collapse(D2, tpop=1, verbose=3)D3$fd
Sp1 sp2+ sp3 sp4D4 <- gl.fixed.diff(D3, test=TRUE, alpha=0.05, v=3, reps=1000)
D4$pval
Starting gl.fixed.diff
Processing a fixed difference (fd) object with SNP data
Comparing populations for absolute fixed differences
Monomorphic loci removed
Populations, aggregations and sample sizes
Sp1 sp2+ sp3 sp4 sp6
8 29 13 8 15
Warning: Fixed differences can arise through sampling error if sample sizes are small
Some sample sizes are small (N < 10, minimum in dataset = 8 )
Comparing populations pairwise -- this may take time. Please be patient
Completed: gl.fixed.diff
D4$pval
Sp1 sp2+ sp3 sp4 sp6
Sp1 0 0 0 0 0
Sp2+ 0 0 0 0 0
Sp3 0 0 0 0 0
Sp4 0 0 0 0 0
Sp6 0 0 0 0 0
Thank you very much for all your help so far
Kate