This is an extension of plot
to visualize frequency distribution from PROsetta_data
object.
# S4 method for class '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
)
a PROsetta_data
object.
unused argument, exists for compatibility with plot
in the base R package.
scale ID to plot. combined
represents the combined scale. (default = combined
)
the filename to write if savefile
argument is TRUE
.
the title of the figure.
the range of scores to plot.
the color to fill the histogram. (default = blue
)
the number of histogram bars. (default = 20
)
if TRUE
, display the actual distribution of scores below each bar. (default = FALSE
)
the type of file to write if savefile
argument is TRUE
. Accepts pdf
, jpeg
, png
, and tiff
. (default = pdf
)
if TRUE
, save the figure as a file. (default = FALSE
)
the background color to use when saving the figure as a file. (default = white
)
the width of the plot. (default = 6
)
the height of the plot. (default = 6
)
the point size to use when saving the figure as a file. (default = 12
)