refdata.fn: Thin genotype matrix for JAM input

Description Usage Arguments Value Author(s)

View source: R/prep.R

Description

Thin genotype matrix for JAM input

Usage

1
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 Aug. 9, 2021, 7:36 a.m.