Entering edit mode
4.5 years ago
psbiswasbrri
•
0
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