Calculating Nei's genetic distance and pairwise Fst from HLA allele frequencies

236 views
Skip to first unread message

Mqondisi Mavuso

unread,
Jun 4, 2018, 8:35:04 AM6/4/18
to poppr
I have HLA allele frequencies from different populations (attached) and wish to compute Nei's genetic distance and pairwise Fst, any pointers in PoppR if possible

Sincerely
Mqondisi 
hlalA allel freq dummy data.csv

Zhian Kamvar

unread,
Jun 6, 2018, 9:57:56 AM6/6/18
to Mqondisi Mavuso, poppr
Hi,

I believe you cannot calculate pairwise Fst with allele frequency data since you don't have any information on heterozygosity. 

That being said, you might be able to simulate populations using the rgenotypes function from the mmod package and calculate the statistics on the simulated populations and get confidence intervals. That being said, the function can only simulation one locus and one population at a time, so you will have to construct a couple of loops/lapply functions to get the job done for each of your populations and loci.

Because this question is more general in scope and not specific to poppr, I would recommend posting any questions on the above procedure to the R-SIG-GENETICS mailing list: https://stat.ethz.ch/mailman/listinfo/r-sig-genetics 

Hope that helps,
Zhian

--
You received this message because you are subscribed to the Google Groups "poppr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to poppr+un...@googlegroups.com.
To post to this group, send email to po...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/poppr/dac2aa83-ef56-4b39-8ac6-1b53e29994af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<hlalA allel freq dummy data.csv>

signature.asc
Reply all
Reply to author
Forward
0 new messages