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