Hi guys,
I am using the R software package pegas to calculate Fis and significant departures from HWE. I've noticed that when I upload data for only one population, I am unable to perform the calculations.
I was wondering if I was missing something obvious? I would have thought that it is possible to do the calculation for one population? I am positive that there is no problem with my data set as I am able to perform other analysis with it and by simply appending more individuals of a different population to my dataset, I am able to get values for HWE and Fis.
I would really appreciate if someone can shed some light into this. Here is a sample of my dataset:
L1 L2 L3 L4 L5 Pop
AG0001-C G/G G/G C/C C/C G/G 1
AG0002-C G/G G/G C/C C/C G/G 1
AG0003-C G/G G/G C/C C/C G/G 1
AG0004-C G/G G/G C/C C/C G/G 1
Thanks.
Hi Zev, I've tried it and as with my own data set I got "Nan" values for all three F-statistics. Do you think you could provide me with the code?
can you post an example locus? You can make one up that recapitulates the data you are working with.