plotRSD: Plot relative standard deviation (RSD) distributions

Description Usage Arguments Value Examples

Description

Plot RSD distributions of processed data.

Usage

1
2
3
4
5
## S4 method for signature 'Binalysis'
plotRSD(analysis, cls = "class")

## S4 method for signature 'MetaboProfile'
plotRSD(analysis, cls = "class")

Arguments

analysis

S4 object of class Binalysis or MetaboProfile

cls

info column to use for class labels.

Value

A list of plots of RSD distributions

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Retrieve file paths and sample information for example data
files <- metaboData::filePaths('FIE-HRMS','BdistachyonEcotypes')[1:2]

info <- metaboData::runinfo('FIE-HRMS','BdistachyonEcotypes')[1:2,]

## Perform spectral binning
analysis <- binneR::binneRlyse(files, 
                               info, 
                               parameters = binneR::detectParameters(files))

## Plot RSD distributions
plotRSD(analysis)

jasenfinch/metaboMisc documentation built on Feb. 10, 2022, 4:22 p.m.