a numeric vector or a numeric matrix of one column (representing a phenotype for instance).
x
a data frame or matrix, representing covariates if not missing.
gdat
genotype data. Should be a matrix or a data frame, with each row representing an observation and each column a marker locus. The column names should be marker names. Optional if an object prdat from geno
an object from estVC or aicVC, or an estimated variance-covariance matrix induced by relatedness and environment.
numGeno
whether to treat numeric coding of genotypes as numeric.
minorGenoFreq
specify the minimum tolerable minor genotype frequency at a scanning locus if gdat is used.
rmv
a logical variable. If true, then the scanning locus will be skipped if the minor genotype frequency at the locus is smaller than minorGenoFreq. Otherwise, the scanning process will stop and return with NULL.
Value
A matrix whose entry in the upper triangle is the log-likelihood test statistic for epistatic effect.