Skip to contents

Plot summary for a given cluster or proteins set

Usage

# S4 method for MSstatsWeightedSummary
plotSummary(
  weighted_summary,
  cluster = NULL,
  proteins = NULL,
  channel_order = NULL
)

Arguments

weighted_summary

output of the getWeightedProteinSummary function

cluster

optional ID of a cluster to plot. Either `cluster` or `proteins` must be provided

proteins

optional vector of proteins to plot. Either `cluster` or `proteins` must be provided

channel_order

optional vector of ordered channel IDs. If provided, x-axis of the plot will follow this order

Value

ggplot2 object