statGen {ASMap} | R Documentation |
Individual genotype statistics for the current linkage map order of and R/qtl cross object
statGen(cross, chr, bychr = TRUE, stat.type = c("xo","dxo",
"miss"), id = "Genotype")
cross |
An R/qtl |
chr |
Character vector of linkage group names used for subsetting the linkage map. |
bychr |
Logical vector determining whether statistics should be plotted by chromosome (see Details). |
stat.type |
Character string of any combination of |
id |
Character string determining the column of |
This function is used in profileGen
to plot any combination of
returned linkage map statistics on a single graphical display.
A list with elements named by the stat.type
used in the call. If
bychr = TRUE
then each element is a data frame of statistics with
columns named by the linkage groups. If bychr = FALSE
then each
element is a vector of statistics named by the stat.type
.
Julian Taylor
Taylor, J., Butler, D. (2017) R Package ASMap: Efficient Genetic Linkage Map Construction and Diagnosis. Journal of Statistical Software, 79(6), 1–29.
data(mapDH, package = "ASMap")
## produce all genotype crossover and double crossover statistics
sg <- statGen(mapDH, stat.type = c("xo","dxo"))