Hello, I have simulated genetic data from Hudson's ms (and COSI) software in this form:
001010 110101 010100 001010 010100
where 0 and 1 represent the ancestral and derived allele, respectively. Each line represents a chromosome from an individual, whereas each column represents a SNP. Is there any way of calculating LD-related measures from this data, such as D' or r2?. I know how to do it from real genetic data (A,C,G,T) but I have not found how to do it from binary (0,1) data. Any suggestion is very welcome !