ripple(cross, chr, window=4, method=c("countxo","likelihood"), error.prob=0.0001, map.function=c("haldane","kosambi","c-f","morgan"), maxit=4000, tol=1e-6, sex.sp=TRUE, verbose=TRUE, n.cluster=1)
cross
. See
read.cross
for details.method="likelihood"
, about progress) are printed.snow
is available and
n.perm
> 0, permutations are run in parallel using this number
of nodes. This is really only useful with method="likelihood"
."ripple"
; the first set of columns are
marker indices describing the order. In the case of
method="countxo"
, the last column is the number of obligate
crossovers for each particular order. In the case of
method="likelihood"
, the last two columns are LOD scores (log
base 10 likelihood ratios) comparing each order to the initial order
and the estimated chromosome length for the given order. Positive LOD
scores indicate that the alternate order has more support than the
original.
method="likelihood"
, calculations are done by first
constructing a matrix of marker orders and then making repeated calls
to the R function est.map
. Of course, it would be
faster to do everything within C, but this was a lot easier to code. For method="countxo"
, calculations are done within C.
summary.ripple
, switch.order
,
est.map
, est.rf
data(badorder)
rip1 <- ripple(badorder, chr=1, window=3)
summary(rip1)
## Not run:
# rip2 <- ripple(badorder, chr=1, window=2, method="likelihood")
# summary(rip2)
# ## End(Not run)
badorder <- switch.order(badorder, 1, rip1[2,])
Run the code above in your browser using DataLab