How to convert hapmap SNP data into 012 format?
0
0
Entering edit mode
4.5 years ago

Hi, I have a SNP dataset in hapmap format. I want to convert it into 012 format considering 0 for homozygous reference allele, 1 for heterozygote and 2 for homozygous for alternative allele. How can I do this in r?

Partha

R • 1.8k views
ADD COMMENT

Login before adding your answer.

Traffic: 2701 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