Predict SNP genotypes
Predict SNP genotypes in a multiparent population from inferred genotypes plus founder strains' SNP alleles.
predict_snpgeno(cross, geno, cores = 1)
cross |
Object of class |
geno |
Imputed genotypes, as a list of matrices, as from |
cores |
Number of CPU cores to use, for parallel calculations.
(If |
A list of matrices with inferred SNP genotypes, coded 1/2/3.
## Not run: # load example data and calculate genotype probabilities file <- paste0("https://raw.githubusercontent.com/rqtl/", "qtl2data/master/DOex/DOex.zip") DOex <- read_cross2(file) probs <- calc_genoprob(DOex, error_prob=0.002) # inferred genotypes m <- maxmarg(probs, minprob=0.5) # inferred SNP genotypes inferg <- predict_snpgeno(DOex, m) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.