plot,PROsetta_data,ANY-method {PROsetta} | R Documentation |
Plot frequency distribution
Description
This is an extension of plot
to visualize frequency distribution from PROsetta_data
object.
Usage
## S4 method for signature 'PROsetta_data,ANY'
plot(
x,
y,
scale_id = "combined",
filename = NULL,
title = NULL,
xlim = NULL,
color = "blue",
nbar = 20,
rug = FALSE,
filetype = "pdf",
savefile = FALSE,
bg = "white",
width = 6,
height = 6,
pointsize = 12
)
Arguments
x |
a |
y |
unused argument, exists for compatibility with |
scale_id |
scale ID to plot. |
filename |
the filename to write if |
title |
the title of the figure. |
xlim |
the range of scores to plot. |
color |
the color to fill the histogram. (default = |
nbar |
the number of histogram bars. (default = |
rug |
if |
filetype |
the type of file to write if |
savefile |
if |
bg |
the background color to use when saving the figure as a file. (default = |
width |
the width of the plot. (default = |
height |
the height of the plot. (default = |
pointsize |
the point size to use when saving the figure as a file. (default = |
Examples
plot(data_asq)
plot(data_asq, scale_id = 1)
plot(data_asq, scale_id = 2)