Arguments
y
Numeric vector of observations ($n$) describing the trait to be analyzed. NA
is allowed.
gen
Numeric matrix containing the genotypic data. A matrix with $n$ rows of observations and ($m$) columns of molecular markers. SNPs must be coded as 0, 1, 2
, for founder homozygous, heterozygous and reference homozigous. NA
is allo
fam
Numeric vector of length ($n$) indicating which subpopulations ($i.e.$ family) each observation comes from. Default assumes that all observations are from the same populations.
chr
Numeric vector indicating the number of markers in each chromosome. The sum of $chr$ must be equal to the number of columns in $gen$. Default assumes that all markers are from the same chromosome.
exp
If TRUE, it exports the GWAS report and Manhattan plot to the current directory R is set.
reml
If TRUE, it finds variance components and breeding values using REML. If false, it uses the Gibbs sampling.