merge_impute | R Documentation |
Merge two genotype matrices and impute missing data by BLUP
merge_impute(geno1, geno2, ploidy)
geno1 |
Genotype matrix (coded 0...ploidy) with dimensions markers x indiv |
geno2 |
Genotype matrix (coded 0...ploidy) with dimensions markers x indiv |
ploidy |
Either 2 or 4 |
This function is obsolete. Use impute_L2H
instead.
Designed to impute from low to high density markers. The BLUP method is equivalent to Eq. 4 of Poland et al. (2012), but this function is not iterative. Additional shrinkage toward the mean is applied if needed to keep the imputed values within the range [0,ploidy
]. Missing data in the input matrices are imputed with the population mean for each marker. If an individual appears in both input matrices, it is renamed with suffixes ".1" and ".2" and treated as two different individuals. Monomorphic markers are removed.
Imputed genotype matrix (markers x indiv)
Poland et al. (2012) Plant Genome 5:103-113.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.