Code to compute sigma - genotype covariance matrix mvs_sigma create a geneotype convariance matrix

mvs_sigma(r, quiet = TRUE)

Arguments

r

a matrix of pairwise \(r^2\) measures generated by snpStats

quiet

boolean whether to return warnings messages default=TRUE

Value

a positive definite approximation of covariance matrix