Calculate allele frequencies per population with SNPRelate
1
0
Entering edit mode
3.7 years ago
irieljoerin ▴ 40

Hi all, I am trying to use SNPRelate R package for some analysis and I began calculating allele frequencies from plink data with the function snpgdsSNPRateFreq. However I didn't find any way to do these calculations per group or population. Can anybody help me with that? Or is there any other package apropriate for doing that? Thanks in advance!

SNPRelate allelefrequencies plink SNP R • 1.0k views
ADD COMMENT
1
Entering edit mode
3.7 years ago
jena ▴ 320

Hi,

I don't know the SNPRelate package, but you can use plink_to_afs() from the R admixtools2 package. It calculates allele frequency spectra for populations as defined in your plink dataset, but you can also provide your own population definitions.

ADD COMMENT

Login before adding your answer.

Traffic: 1796 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6