Plots stacked-barplot recapitulating

protein.summary(
  DEprot.object,
  group.column = "column.id",
  n.lables = NULL,
  label.color = "white",
  x.label.angle = 30,
  show.frequency = FALSE,
  colors = NULL,
  title = NULL,
  subtitle = NULL
)

Arguments

DEprot.object

An object of class DEprot or DEprot.analyses.

group.column

String indicating a column among the ones in the metadata table. Default: "column.id" (no groups).

n.lables

String indicating the type of values to display on the barplot. One among: NULL (no labels), "frequency", "percentage", "counts". Default: NULL (no labels).

label.color

String indicating the font-color to use for the barplot values labels. Default: "white".

x.label.angle

Numeric value indicating the rotation angle to use for the x-axis labels. Default: 30 (degrees).

show.frequency

Logical value indicating whether the barplot should show the y-axis as frequency or as absolute counts. Default: FALSE (counts).

colors

String-vector indicating the colors to use for the degrees of protein-presence. Default: NULL (colors will be assigned automatically).

title

String indicating the title to use (markdown annotation supported). Default: NULL.

subtitle

String indicating the subtitle to use (markdown annotation supported). Default: NULL.

Value

A ggplot object.