countXO | R Documentation |
Count the number of obligate crossovers for each individual in a cross, either by chromosome or overall.
countXO(cross, chr, bychr=FALSE)
cross |
An object of class |
chr |
Optional vector indicating the chromosomes to investigate.
This should be a vector of character strings referring to chromosomes
by name; numeric values are converted to strings. Refer to
chromosomes with a preceding |
bychr |
If TRUE, return counts for each individual chromosome; if FALSE, return the overall number across the selected chromosomes. |
For each individual we count the minimal number of crossovers that explain the observed genotype data.
If bychr=TRUE
, a matrix of counts is returned, with rows
corresponding to individuals and columns corresponding to
chromosomes.
If bychr=FALSE
, a vector of counts (the total number of
crossovers across all selected chromosomes) is returned.
Karl W Broman, broman@wisc.edu
ripple
, locateXO
, cleanGeno
data(hyper)
plot(countXO(hyper))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.