powered by
Converts a matrix of correlation coefficients into a D' matrix
cor2dprime(mat, probs)
A correlation matrix
A vector of allele frequencies
The resulting matrix of D' coefficients
Montana, G. HapSim: a simulation tool for generating haplotype data with pre-specified allele frequencies and LD coefficients. 2005.