This imputation algorithm uses LD to identify good predictors for each SNP, and then uses the high LD SNPs to identify K-Nearest Neighbors. The genotype is called with a weighted mode of the KNNs.
Arguments
- tasObj
an rTASSEL
TasselGenotypePhenotype
object.- highLDSSites
Number of sites in high LD to use in imputation. Acceptable values are between
2
and2000
. Defaults to30
.- knnTaxa
Number of neighbors to use in imputation. Acceptable values are between
2
and200
. Defaults to10
.- maxDistance
Maximum physical distance between sites to search for LD (-1 for no distance cutoff - unlinked chromosomes will be tested). Defaults to
10e6
.