Skip to contents

Plot number of non-zero proteins per sample

Usage

plot_nr_prot_samples(se, ain = "raw", color_by = NULL, label_by = NULL)

Arguments

se

SummarizedExperiment containing all necessary information of the proteomics data set

ain

String which data type should be used (default raw)

color_by

String specifying the column to color the samples (If NULL, the condition column of the SummarizedExperiment object is used. If "No", no color bar added.)

label_by

String specifying the column to label the samples (If NULL, the labels column of the SummarizedExperiment object is used. If "No", no labeling of samples done.)

Value

ggplot object

Examples

data(tuberculosis_TMT_se)
plot_nr_prot_samples(tuberculosis_TMT_se, ain="raw", color_by = "Group",
                     label_by = "Label")