Usage
plotb3(x, resno = NULL, rm.gaps = FALSE, type = "h", main = "", sub = "", xlim = NULL, ylim = NULL, ylim2zero = TRUE, xlab = "Residue", ylab = NULL, axes = TRUE, ann = par("ann"), col = par("col"), sse = NULL, sse.type="classic", sse.min.length=5, top = TRUE, bot = TRUE, helix.col = "gray20", sheet.col = "gray80", sse.border = FALSE, ...)
"plot"(...)
Arguments
x
a numeric vector of values to be plotted. Any reasonable way of
defining these plot coordinates is acceptable. See the function
xy.coords for details.
resno
an optional vector with length equal to that of
x that will be used to annotate the xaxis. This is typically
a vector of residue numbers. If NULL residue positions from 1 to the
length of x will be used. See examples below.
rm.gaps
logical, if TRUE gaps in x
, indicated by NA values,
will be removed from plot.
type
one-character string giving the type of plot desired. The
following values are possible, (for details, see plot): p
for points, l for lines, o for over-plotted points and
lines, b, c) for points joined by lines,
s and S for stair steps and h for
histogram-like vertical lines. Finally, n does not produce
any points or lines.
main
a main title for the plot, see also title.
sub
a sub-title for the plot.
xlim
the x limits (x1,x2) of the plot. Note that x1 > x2 is
allowed and leads to a reversed axis.
ylim
the y limits of the plot.
ylim2zero
logical, if TRUE the y-limits are forced to start at zero.
xlab
a label for the x axis, defaults to a description of x.
ylab
a label for the y axis, defaults to a description of y.
axes
a logical value indicating whether both axes should be drawn
on the plot. Use graphical parameter xaxt or
yaxt to suppress just one of the axes.
ann
a logical value indicating whether the default annotation
(title and x and y axis labels) should appear on the plot.
col
The colors for lines and points. Multiple colors can be
specified so that each point is given its own color. If there are
fewer colors than points they are recycled in the standard fashion.
Lines are plotted in the first color specified.
sse.type
single element character vector that determines the
type of secondary structure annotation drawn. The following values
are possible, classic and fancy. See details and
examples below.
sse.min.length
a single numeric value giving the length below
which secondary structure elements will not be drawn. This is useful
for the exclusion of short helix and strand regions that can often crowd
these forms of plots.
top
logical, if TRUE rectangles for each sse are drawn towards
the top of the plotting region.
bot
logical, if TRUE rectangles for each sse are drawn towards
the bottom of the plotting region.
helix.col
The colors for rectangles representing alpha helices.
sheet.col
The colors for rectangles representing beta strands.
sse.border
The border color for all sse rectangles.
...
other graphical parameters.