Learn R Programming

DOQTL (version 1.8.0)

coefplot: Plot the QTL model coefficients

Description

Given a DOQTL object, plot the founder allele coefficients on one chromosome. The coefficients are centered around zero before plotting.

Usage

coefplot(doqtl, chr = 1, stat.name = "LOD", conf.int = TRUE, legend = TRUE, colors = "DO", sex, ...)

Arguments

doqtl
A DOQTL object as produced by scanone. A list containing two elements: lod and coef.
chr
Character containing the chromosome to plot.
stat.name
Character string containing the name of the mapping statistic.
conf.int
Boolean that is TRUE if the QTL support interval should be shaded in the plot. Default = TRUE.
legend
Boolean that is TRUE if the color legend for the DO founders should be drawn. Default = TRUE.
colors
Either "DO", in which case DO colors are supplied or a data.frame with three columns containing the founder letter code, founder strain name and founder color in columns 1:3.
sex
Character that is either FALSE or M, indicating the sex to use. Only used on X chromosome.
...
Additional arguments to be passed to plot.

Value

No value is returned. A plot with the founder coefficients in the top panel and the LOD score in the bottom panel is drawn.

See Also

scanone, plot.doqtl

Examples

Run this code
  ## Not run: 
#     coefplot(qtl, chr = 1)
#   ## End(Not run)

Run the code above in your browser using DataLab