Usage
E.mat(X,min.MAF=NULL,max.missing=NULL,impute.method="mean",tol=0.02,
n.core=1,shrink=FALSE,return.imputed=FALSE, type="A#A", ploidy=2)
Arguments
X
Matrix ($n \times m$) of unphased genotypes for $n$ lines and $m$ biallelic markers,
coded as {-1,0,1}. Fractional (imputed) and missing values (NA) are allowed.
min.MAF
Minimum minor allele frequency. The A matrix is not sensitive to rare alleles, so by default only monomorphic markers are removed.
max.missing
Maximum proportion of missing data; default removes completely missing markers.
impute.method
There are two options. The default is "mean", which imputes with the mean for each marker. The "EM" option imputes with an EM algorithm (see details).
tol
Specifies the convergence criterion for the EM algorithm (see details).
n.core
Specifies the number of cores to use for parallel execution of the EM algorithm (use only at UNIX command line).
shrink
Set shrink=TRUE to use the shrinkage estimation procedure (see Details).
return.imputed
When TRUE, the imputed marker matrix is returned.
type
An argument specifying the type of epistatic relationship matrix desired. The default is the second order epistasis (additive x additive) type="A#A". Other options are additive x dominant (type="A#D"), or dominant by dominant (type="D#D").
ploidy
The ploidy of the organism. The default is 2 which means diploid but higher ploidy levels are supported.