plot.map.frame | R Documentation |
Multiple x-y plots are formed using chromosome numbers
(chr.num
) and positions (pos.plot
) specified in a object
of the sort created by make.map.frame
## S3 method for class 'map.frame'
plot(x, y, fun = if (y.type == "matrix") matlines else
lines, type = "l", include.rug = TRUE, rug.lwd = 0.1,
title.string = NULL, y.range = NULL, ylab =
deparse(substitute(y)), xlab = "Location", ...)
x |
A |
y |
(optional) A vector with as many elements or a
matrix with as many rows as |
... |
more args |
fun |
A plotting function to be used after the plot axes and
labels have been drawn. The current default |
type |
|
include.rug |
if |
rug.lwd |
size of ticks |
title.string |
(optional) label to prepend to each title |
y.range |
range for y limits |
ylab |
plot label for y-axis, see |
xlab |
plot label for x-axis, see |
This function enables drawing graphs that depend on chromosome and
chromosome location. Typically, one will use a command like
par(mfrow=c(nrows,ncols))
first to set up a page on which
multiple plots will be drawn. However, one can draw one plot per page
on postscript devices by leaving par(mfrow=c(1,1))
NULL
- this function is called only for its side effects
Charles C. Berry cberry@ucsd.edu
plot
,
lines
, and
matlines
for general information on plotting functions;
par
for optional arguments to add as arguments; and
make.map.frame
for the details on the object the drives this function.
data( little.ana.bc )
null.llk <- loglik(bqtl(bc.phenotype~1,little.ana.bc))
llk <- loglik( bqtl( bc.phenotype~locus(all), little.ana.bc) ) - null.llk
.old.par <- par(mfrow=c(2,3))
plot.map.frame(little.ana.bc$map.frame,llk)
par(.old.par)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.