mergemats: Merges two LD matrices

Description Usage Arguments Value Author(s) References

Description

Merges two LD matrices. It can be used to compare the LD coefficients estimated in the real and simulated data sets

Usage

1
mergemats(mat1, mat2)

Arguments

mat1

First square matrix

mat2

Second square matrix of same dimensions

Value

The resulting matrix has upper triangular matrix from mat1 and lower triangular matrix from mat2

Author(s)

Giovanni Montana

References

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


hapsim documentation built on May 1, 2019, 9:11 p.m.

Related to mergemats in hapsim...