refdata.fn: Thin genotype matrix for JAM input

View source: R/prep.R

refdata.fnR Documentation

Thin genotype matrix for JAM input

Description

Thin genotype matrix for JAM input

Usage

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

Author(s)

Jenn Asimit


jennasimit/flashfm documentation built on July 31, 2022, 7:32 p.m.