Skip to contents

Plot RSD distributions of raw data in quality control samples.

Usage

plotRSD(analysis, cls = "class", ...)

# S4 method for AnalysisData
plotRSD(analysis, cls = "class")

# S4 method for Analysis
plotRSD(analysis, cls = "class", type = "raw")

Arguments

analysis

object of class AnalysisData or Analysis

cls

information column to use for class labels

...

arguments to pass to the appropriate method

type

raw or pre-treated data to plot

Examples

library(metaboData)

d <- analysisData(abr1$neg,abr1$fact)

## Plot class RSD distributions
plotRSD(d,cls = 'day')
#> Warning: Removed 716 rows containing non-finite values (`stat_density()`).
#> Warning: Removed 6 rows containing missing values (`geom_line()`).