This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to convert hapmap SNP data into 012 format?

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

0 answers

No answers yet.

Log in to answer this question.