recode_snps | R Documentation |
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.
calc_raw_founder_maf()
, calc_raw_maf()
## Not run:
# load example data and calculate genotype probabilities
file <- paste0("https://raw.githubusercontent.com/rqtl/",
"qtl2data/main/DOex/DOex.zip")
DOex <- read_cross2(file)
DOex <- recode_snps(DOex)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.