Arguments
G
Matrix ($n \times m$) of unphased genotypes for $n$ lines and $m$ biallelic markers,
coded as {-1,0,1} = {aa,Aa,AA}. Fractional (imputed) and missing values (NA) are allowed.
min.MAF
Minimum minor allele frequency; default removes monomorphic markers.
max.missing
Maximum proportion of missing data; default removes completely missing markers.
impute
If TRUE, missing genotypic data are imputed (see below). If FALSE, A is calculated from pairwise complete observations, which does not guarantee positive semidefiniteness (this can cause problems with mixed.solve
tol
Specifies convergence criterion for imputing missing data with an EM algorithm (see details). If tol < 0, missing data are imputed with the population mean for each marker.
n.core
For Mac, Linux, and UNIX users, setting n.core > 1 will enable parallel execution on a machine with multiple cores. R package multicore must be installed for this to work. Do not run multicore from within the R GUI; you must use the command line.
return.G
If TRUE (and impute = TRUE), the imputed marker matrix is returned. When the EM algorithm is used, the imputed alleles can lie outside the interval [-1,1]. Polymorphic markers that do not meet the min.MAF and max.missing criteria are not imputed.