
Last chance! 50% off unlimited learning
Sale ends in
Estimation of genetic positions (in centi Morgan)
geneticPosition(final, map1, exclude = NULL, threshold = 0.05)
list (LEN 2)
vector (LEN p) of genetic positions of SNPs (in cM)
vector (LEN p) of physical positions of SNPs (in Mbp)
table of results produced by editraw
with pairwise
estimates of recombination rate between p SNPs within chromosome; minimum
required data frame with columns SNP1
, SNP2
and theta
data.frame containing information on physical map, at least:
SNP
SNP ID
locus_Mb
physical position in Mbp of SNP on chromosomes
Chr
chromosome of SNP
optional vector (LEN < p) of SNP IDs to be excluded (e.g., candidates of misplaced SNPs; default NULL)
optional value; recombination rates <= threshold are considered for smoothing approach assuming theta ~ Morgan (default 0.05)
Smoothing of recombination rates (theta) <= 0.05 via quadratic optimization provides an approximation of genetic distances (in Morgan) between SNPs. The cumulative sum * 100 yields the genetic positions in cM.
The minimization problem (theta - D d)^2
is solved s.t. d > 0 where
d is the vector of genetic distances between adjacent markers but theta is
not restricted to adjacent markers. The incidence matrix D contains 1's for
those intervals contributing to the total distance relevant for each theta.
Estimates of theta = 1e-6 are neglected as these values coincide with start values and indicate that (because of a very flat likelihood surface) no meaningful estimate of recombination rate has been obtained.
Qanbari, S. & Wittenburg, D. (2020) Male recombination map of the autosomal genome in German Holstein. Genetics Selection Evolution 52:73. tools:::Rd_expr_doi("10.1186/s12711-020-00593-z")
### test data
data(targetregion)
### make list for paternal half-sib families
hap <- makehaplist(daughterSire, hapSire)
### parameter estimates on a chromosome
res <- hsrecombi(hap, genotype.chr)
### post-processing to achieve final and valid set of estimates
final <- editraw(res, map.chr)
### approximation of genetic positions
pos <- geneticPosition(final, map.chr)
Run the code above in your browser using DataLab