Calculate covariance matrix and transform into triangular form for visualization

take.ld.pairs(X, cutoff, stdize)

Arguments

X

genotype matrix

cutoff

LD covariance cutoff (default: 0.05)

stdize

standardize genotype matrix (default : FALSE)

Value

data.frame(x, y, x.pos, y.pos, cov)