Recode SNPs by major allele
For multi-parent populations with founder genotypes, recode the raw
SNP genotypes so that 1
means homozygous for the major allele in the
founders.
recode_snps(cross)
cross |
Object of class |
The input cross object with the raw SNP genotypes recoded so that
1
is homozygous for the major alleles in the founders.
## 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) DOex <- recode_snps(DOex) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.