Description Usage Arguments Details Value References See Also Examples
View source: R/compare-orders.R
Compares potential orderings on the basis of likelihood or number of expectedcrossovers. Based off of the ripple function in R/qtl.
1 2 3 4 5 6 |
cross |
Object of class |
chr |
Selected chromosomes |
orders |
Orders to be compared |
window |
Window size for order comparison |
method |
Method for comparison, either counting the
number of crossovers or likelihood value. See
|
error.prob |
See |
map.function |
See |
maxit |
See |
tol |
See |
sex.sp |
See |
verbose |
See |
Uses the core of the ripple function from R/qtl in order
to compare orderings output from mporder. Note that
method="likelihood"
is substantially slower than
method="countxo"
and should not be used for a
large number of orderings or a large window size.
The matrix of orders with crossover counts or likelihood
values appended. Similar output to ripple
.
R/qtl
1 2 3 4 | map <- 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.