cor2dprime function

Correlations to D' coefficients conversion

Correlations to D' coefficients conversion

Converts a matrix of correlation coefficients into a D' matrix

cor2dprime(mat, probs)

Arguments

  • mat: A correlation matrix
  • probs: A vector of allele frequencies

Returns

The resulting matrix of D' coefficients

References

Montana, G. HapSim: a simulation tool for generating haplotype data with pre-specified allele frequencies and LD coefficients. 2005.

Author(s)

Giovanni Montana

  • Maintainer: Apostolos Dimitromanolakis
  • License: GPL (>= 2)
  • Last published: 2017-06-07

Useful links