coefplot: Plot the QTL model coefficients

View source: R/qtl.plot.R

coefplotR Documentation

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.

Author(s)

Daniel Gatti

See Also

scanone, plot.doqtl

Examples

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

dmgatti/DOQTL documentation built on April 7, 2024, 10:35 p.m.