Calculate estimated heterozygosity from raw SNP genotypes
Calculate estimated heterozygosity for each individual from raw SNP genotypes
calc_raw_het(cross, by = c("individual", "marker"))
cross |
Object of class |
by |
Indicates whether to summarize by founder strain ( |
A vector of heterozygosities, one for each individual or marker.
## 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_het <- calc_raw_het(DOex) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.