plotRaw-proFIAset-method: Plotting of raw data

Description Usage Arguments Value Examples

Description

Plot the raw data from a proFIAset object,the the type of plot determines if the full raw data needs to be plotted or only the data conressponding to the detected peaks needs to be plottes. The path in the classes table of the proFIAset object needs to be correct.

Usage

1
2
3
4
5
6
7
8
9
## S4 method for signature 'proFIAset'
plotRaw(
  object,
  type = c("raw", "peaks"),
  sample = NULL,
  bandl = TRUE,
  legend = TRUE,
  ...
)

Arguments

object

A proFIAset object.

type

"raw" indicate that raw data needs to be plotted and "peak" indicate that only the filtered signals will be plotted.

sample

The number of the sample in the object classes table to be plotted. The classes table can be taken using the phenoClasses function.

bandl

A boolean shall a line be added on the detected bands. Only used in type is set to "peak"

legend

Shall the legend be plotted along the graph

...

xlim,ylim and size to be passed to plot functions.

Value

No value is returned.

Examples

1
2
3
4
5
6
7
8
9
if(require("plasFIA")){
    data(plasSet)

    #Visualising the raw data
    plotRaw(plasSet,type="raw",ylim=c(215.9,216.2),sample=4)

    #Plotting the filtered signals only.
    plotRaw(plasSet,type="peaks",ylim=c(215.9,216.2),sample=4)
}

proFIA documentation built on March 20, 2021, 6 p.m.