Generating allele frequency tables

50 views
Skip to first unread message

JVPlanz

unread,
Oct 26, 2017, 10:09:57 AM10/26/17
to poppr
HI 
I have been able to generate a table of allele counts for  a set of 21 STR loci on a population of 200 ind using the script:
(athospal <- private_alleles(ATHOSPara, count.alleles = TRUE))  Note: using the FALSE option as shown in the documentation gives a able of 1's!
athospal looks like this:

         locus 1.allele 1    locus1.allele2 .... locus 2.allele 1   locus 2. allele2...  etc
  1            171                      131                      1                         116    ...

That table gives me the individual allele counts , but when using the Sweep function from the documentation I get a output of NA for each allele...
How would I I get an allele frequency table that gives me the decimal percentage of  each allele for each locus??

Tanks in advance for your help
John

Reply all
Reply to author
Forward
0 new messages