powered by
Merges two LD matrices. It can be used to compare the LD coefficients estimated in the real and simulated data sets
mergemats(mat1, mat2)
First square matrix
Second square matrix of same dimensions
The resulting matrix has upper triangular matrix from mat1 and lower triangular matrix from mat2
mat1
mat2
Montana, G. HapSim: a simulation tool for generating haplotype data with pre-specified allele frequencies and LD coefficients. 2005.