ecl-logo Documentation

PlotPeaks

PlotPeaks[peaksData]plot

produces either a piechart or barchart of the peak areas, widths, heights, or purities contained in the provided peaksData object.

PlotPeaks[peaksDataA,peaksDataB]plot

produces a normalized barchart of the peak areas, widths, heights, or purities of peaksDataA normalized against peaksDataB.

PlotPeaks[purity]plot

produces either a piechart or barchart showing the purity (relative areas) of a set of peaks.

Details

    Input
    Output
    Data Specifications Options
    Frame Options
    Grid Options
    Image Format Options
    Peaks Options
    Plot Labeling Options
    Plot Style Options
    General Options
    Messages
  • DifferentDataFamiliesYour provided input, `1`, is a mix of various data families: `2`. The PlotPeaks function can only plot one data family at a time.
    NoPeaksOne or more of your inputs does not have picked peaks. Please use the peaks function to pick peaks for your data or exclude your data from plotting if no peaks can be picked.
    TooFewPeaksYour provided input, `1`, has fewer picked peaks than required by your Peaks option. Defaulting to `2`.

Examples

Basic Examples  (5)

Plot the peak purity from an Object[Analysis,Peaks] Object as a pie chart:

Plot peak analysis from a link:

Plot the peaks associated with a single Object[Data,Chromatography] object as a pie chart of peak purity:

Plot the peaks associated with a single Object[Data,Western] object as a pie chart of peak purity:

Plot the areas of a set of peak purities as a labeled pie chart:

Options  (36)

AspectRatio  (2)

Set the aspect ratio of the resulting PieChart:

Set the aspect ratio of the resulting BarChart:

Boxes  (1)

By default, boxes are used for legend labels. Set Boxes->False to use lines instead:

ChartLabelOrientation  (2)

Change the orientation of the chart labels on the barchart:

Change the orientation of the chart labels on the barchart:

ChartLabels  (3)

Set integers to be the labels for each bar in the barchart:

Set strings to be the labels for each bar in the barchart:

Set the labels for each slice in the piechart:

Display  (2)

Plot the peak areas from an Object[Analysis,Peaks] Object as a bar chart:

Plot the peak areas from a single Object[Data,Chromatography] Object as a bar chart:

Frame  (1)

Specify if a Frame should be drawn. See the documentation of EmeraldPieChart or EmeraldBarChart for more information:

ImageSize  (1)

Set the size of the plot. See the documentation of EmeraldPieChart or EmeraldBarChart for more information:

Legend  (1)

Specify a legend:

LegendPlacement  (2)

Specify where the legend should be drawn:

By default, the legend is drawn on the Right:

Peaks  (15)

Plot the areas of the first peaks normalized to the second peaks associated with each Object[Analysis,Peaks] Object as a barchart:

Plot the areas of the first set of Object[Analysis,Peaks] Objects normalized to the second set of Object[Analysis,Peaks] Objects as a barchart:

Plot the areas of the first set of Object[Analysis,Peaks] Objects normalized to the second set of Object[Analysis,Peaks] Objects as a barchart:

Plot the areas of the first set of Object[Analysis,Peaks] Objects normalized to the second set of Object[Analysis,Peaks] Objects as a barchart:

Plot the areas of the first set of Object[Analysis,Peaks] Objects normalized to the second set of Object[Analysis,Peaks] Objects as a barchart:

Plot the areas of the first set of Object[Analysis,Peaks] Objects normalized to the second set of Object[Analysis,Peaks] Objects as a barchart:

Plot the purity of the first and second peaks associated with each Object[Analysis,Peaks] Object as a barchart:

Plot the purity of the first peaks associated with each Object[Analysis,Peaks] Object as a barchart:

Plot the purity of the first peaks associated with each Object[Analysis,Peaks] Object as a barchart:

Plot the purity of the first and second peaks associated with each Object[Analysis,Peaks] Object as a barchart:

Plot the areas of the first peaks normalized to the second peaks associated with each SimpleWestern data object as a barchart:

Plot the purity of the first and second peaks associated with each SimpleWestern data object as a piechart:

Plot the purity of the first and second peaks associated with each SimpleWestern data object as a barchart:

Plot the purity of the first peaks associated with each SimpleWestern data object as a barchart:

Plot the purity of the first peaks associated with each SimpleWestern data object as a barchart:

PlotType  (6)

Plot the peak purity from an Object[Analysis,Peaks] Object as a bar chart:

Plot the peak widths from an Object[Analysis,Peaks] Object as a bar chart:

Plot the peak heights from an Object[Analysis,Peaks] Object as a bar chart:

Plot the peaks associated with a single Object[Data,Chromatography] Object as a barchart automatically displaying peak purity:

Plot the peak widths from a single Object[Data,Chromatography] Object as a bar chart:

Plot the peak heights from a single Object[Data,Chromatography] Object as a bar chart:

Attributes  (2)

listable  (2)

Plot a list of Object[Analysis,Peaks] Object as a list of pie charts of peak purity:

Plot a mixed list of data Objects as a list of pie charts of peak purity:

Messages  (7)

DifferentDataFamilies  (2)

When different data objects of different families are provided, the function will not evaluate:

When different data objects of different families are provided, the function will not evaluate:

NoPeaks  (2)

When no peaks are present, no plot will be created:

When no peaks are present, no plot will be created:

TooFewPeaks  (3)

When more peaks are requested in the peaks option than exist in the associated Object[Analysis,Peaks] object, the function will plot all the peaks:

When the requested peak index in the peaks option is greater than the number of peaks in the associated Object[Analysis,Peaks] object, the function will plot the last peak:

When the requested peak index in the peaks option is greater than the number of peaks in the associated Object[Analysis,Peaks] object, the function will plot the last peak: