statGen {ASMap} | R Documentation |
Individual genotype statistics for an R/qtl cross object
Description
Individual genotype statistics for the current linkage map order of and R/qtl cross object
Usage
statGen(cross, chr, bychr = TRUE, stat.type = c("xo","dxo",
"miss"), id = "Genotype")
Arguments
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 |
Details
This function is used in profileGen
to plot any combination of
returned linkage map statistics on a single graphical display.
Value
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
.
Author(s)
Julian Taylor
References
Taylor, J., Butler, D. (2017) R Package ASMap: Efficient Genetic Linkage Map Construction and Diagnosis. Journal of Statistical Software, 79(6), 1–29.
See Also
Examples
data(mapDH, package = "ASMap")
## produce all genotype crossover and double crossover statistics
sg <- statGen(mapDH, stat.type = c("xo","dxo"))