Correlation matrix of SNPs

cor2(x)

Arguments

x

Phased haplotype matrix, rows as samples and columns as SNPs

Value

Correlation matrix

Details

Quick function to find a correlation matrix