Impute missing genotypes in a snpMatrix object in each SNP in turn, conditional on all the others.
fillin(X, bp = 1:ncol(X), strata = NULL)
a snpMatrix object
optional vector giving basepair positions of the SNPs
optional vector giving stratificiation of the samples, one entry for each sample, and samples with the same value are assumed to come from a single strata
a numeric matrix of imputed genotypes, 0,2 = homs, 1 = het