plotRaw,proFIAset-method {proFIA} | R Documentation

## Plotting of raw data

### 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

    ## 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

    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)
    }

[Package proFIA version 1.16.3 Index]