numPeaksPlot: Plot to look at the number of peaks per sample

View source: R/numPeaksPlot.R

numPeaksPlotR Documentation

Plot to look at the number of peaks per sample

Description

Constructs scatter plot to look at the number of peaks per sample.

Usage

numPeaksPlot(ftmsObj, xaxis = NULL, ylabel = "Number of Peaks", title = NULL)

Arguments

ftmsObj

an object of class 'peakData' or 'compoundData', typically a result of as.peakData or mapPeaksToCompounds.

xaxis

x axis variable. If NULL, will use attr(ftmsObj, "cnames")$fdata_cname. Must be one of colnames(ftmsObj$f_data) or colnames(attr(ftmsObj, "group_DF")).

ylabel

y axis label, default is "Density"

title

plot title, default is NULL

Value

a plotly object

Author(s)

Allison Thompson

See Also

plot_ly


EMSL-Computing/fticRanalysis documentation built on Dec. 18, 2024, 9:51 p.m.