recode.Rd
Returns a recoded genoMatrix object, genetic model, imputation, and weights can be recoded.
recode(object, geneticModel, imputeMethod, weights, MAFweights)
An object of class genoMatrix
Accepted values include "allelic", "dominant", "recessive".
Logic for recoding of missing genotypes. The default, "meanImpute" recodes NA to the mean genotype dosage. "missingToRef" recodes NA to 0.
A vector of weights, with length equal to the number of variants.
Apply MAF-dependent weighting, current options include "none" and "mb" (Madsen-Browning).