I have a problem with a specific task. I got genind data with 11 populations from two different seasons. For example 1-j, 10-w, 2-j, 2-w…
- I had to calculate frequency for every locus in every pop
AND - In case there are more seasons then one I have to calculate their allelic distance. ( take absolute value of two seasons frequency and divide it by mean frequency ). I really cant figre this one :/
First one is done by function pop.freq() and it gives me list of S3 tables. I have information I need for second task but I dont know how to get it out and work with it. There are 896 locus and I dont see it being done by hand.
Does anybody know any function that can count it or help with this task ?
- S3 table containing frequency of alleles
- Main list with S3 tables for every locus
New contributor
Proma is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.