Skip to contents

Generates density plots for a SummarizedExperiment object

Usage

prot.plot_density(
  se1,
  se2 = NULL,
  se3 = NULL,
  title1 = "",
  title2 = "",
  title3 = "",
  group = FALSE,
  basesize = 15,
  plot = TRUE,
  export = FALSE
)

Arguments

se1

A SummarizedExperiment object with normalized data.

se2

(optional) A second SummarizedExperiment object with normalized data.

se3

(optional) A third SummarizedExperiment object with normalized data.

title1

A title for the first density plot.

title2

(optional) A title for the second density plot.

title3

(optional) A title for the third density plot.

group

A logical value indicating whether to group the plots by condition (TRUE) or not (FALSE). If TRUE, prot.plot_imputation is called.

basesize

The base font size for the plots.

plot

A logical value indicating whether to plot the plots (TRUE) or not (FALSE).

export

A logical value indicating whether to export the plots (TRUE) or not (FALSE).

Value

(Invisibly) returns a ggplot object.