Thin genotype matrix for JAM input

refdata.fn(X, r2 = 0.99)

Arguments

X

matrix of genotypes scores: SNPs are columns, individuals are rows; could be dosages

r2

r.squared threshold for thinning SNPs

Value

genotype matrix of SNPs thinned at r2 and with colinearity removed