Usage
labeledBarplot(
Matrix, labels,
colorLabels = FALSE,
colored = TRUE,
setStdMargins = TRUE,
stdErrors = NULL,
cex.lab = NULL,
xLabelsAngle = 45,
...)
Arguments
Matrix
vector or a matrix to be plotted.
labels
labels to annotate the bars underneath the barplot.
colorLabels
logical: should the labels be interpreted as colors? If TRUE
, the bars will
be labeled by colored squares instead of text. See details.
colored
logical: should the bars be divided into segments and colored? If TRUE
, assumes
the labels
can be interpreted as colors, and the input
Matrix
is square and the rows have the same labels as the columns. See details.
setStdMargins
if TRUE
, the function wil set margins c(3, 3, 2, 2)+0.2
.
stdErrors
if given, error bars corresponding to 1.96*stdErrors
will be plotted on top of
the bars.
cex.lab
character expansion factor for axis labels, including the text labels underneath the
barplot.
xLabelsAngle
angle at which text labels under the barplot will be printed.
...
other parameters for the function barplot
.