Description Usage Arguments Details Value References See Also Examples
Compares potential orderings on the number of expected crossovers or likelihood values. Rewrite of older version.
1 | compare_orders(cross, chr, orders, method = c("countXO", "likelihood"))
|
cross |
Object of class |
chr |
Selected chromosomes |
orders |
Orders to be compared |
method |
Method for comparison. Note that "likelihood" is much more time-consuming than "countXO" |
Uses functions from R/qtl in order to compare possible orderings on the basis of the number of obligate crossovers or log-likelihood values.
The matrix of orders with crossover counts appended.
R/qtl
1 2 3 4 | map <- qtl::sim.map(len=100, n.mar=11, eq.spacing=TRUE, include.x=FALSE)
sim.ped <- sim.mpped(4, 1, 500, 6, 1)
sim.dat <- sim.mpcross(map=map, pedigree=sim.ped, seed=1)
compare_orders(sim.dat, chr=1, orders=rbind(1:11, c(1:3, 6:4, 7:11)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.