cor2dprime {hapsim} | R Documentation |
Correlations to D' coefficients conversion
Description
Converts a matrix of correlation coefficients into a D' matrix
Usage
cor2dprime(mat, probs)
Arguments
mat |
A correlation matrix |
probs |
A vector of allele frequencies |
Value
The resulting matrix of D' coefficients
Author(s)
Giovanni Montana
References
Montana, G. HapSim: a simulation tool for generating haplotype data with pre-specified allele frequencies and LD coefficients. 2005.
[Package hapsim version 0.31 Index]