View source: R/add.cim.covar.R
add.cim.covar | R Documentation |
Add dots at the locations of the selected marker covariates, for a plot of composite interval mapping results.
add.cim.covar(cimresult, chr, gap=25, ...)
cimresult |
Composite interval mapping results, as output from
|
chr |
Optional vector specifying which chromosomes to plot. (The
chromosomes must be specified by name.) This should be identical to
that used in the call to |
gap |
Gap separating chromosomes (in cM). This should be identical to
that used in the call to |
... |
Additional plot arguments, passed to the function
|
One must first have used the function plot.scanone
to plot the composite interval mapping results.
The arguments chr
and gap
must be identical to the
values used in the call to plot.scanone
.
Dots indicating the locations of the selected marker covariates are
displayed on the x-axis. (By default, solid red circles are plotted;
this may be modified by specifying the graphics parameters pch
and
col
.)
A data frame indicating the marker covariates that were plotted.
Karl W Broman, broman@wisc.edu
cim
, plot.scanone
## Not run: data(hyper)
hyper <- calc.genoprob(hyper, step=2.5)
out <- scanone(hyper)
out.cim <- cim(hyper, n.marcovar=3)
plot(out, out.cim, chr=c(1,4,6,15), col=c("blue", "red"))
add.cim.covar(out.cim, chr=c(1,4,6,15))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.