View source: R/kwak_coincidence.R
coincidence | R Documentation |
Estimate coincidence function for a chromosome.
coincidence(cross, chr = NULL, window = 5, ncalc = 500)
cross |
Cross object; must be a backcross. See
|
chr |
Chromosome to consider (only one is allowed). If NULL, the first chromosome is considered. |
window |
Window size |
ncalc |
Total number of points for calculations. |
Data frame with columns distance
and coincidence
. The
input argument window
is kept as an attribute.
Il youp Kwak
intensity()
, est.coi()
map1 <- sim.map(103, n.mar=104, anchor=TRUE, include.x=FALSE, eq=TRUE)
x <- sim.cross(map1, n.ind=2000, m=6, type="bc")
out <- coincidence(x, ncalc=101)
plot(out, type="l", lwd=2, ylim=c(0, max(out[,2])))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.