plotRSD: Plot RSD distributions

plotRSD,Binalysis-methodR Documentation

Plot RSD distributions

Description

Plot relative standard deviation (RSD) distributions of spectrally processed data.

Usage

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

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

Arguments

analysis

an object of S4 class Binalysis or MetaboProfile

cls

the info column to use for class labels

Value

A list of RSD distribution plots for each ionisation mode..

Examples

## 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 July 31, 2023, 2:28 a.m.