classesPlot | R Documentation |
Constructs stacked bar plot to look at the percentage of each class in the data
classesPlot(
ftmsObj,
xaxis = NULL,
ylabel = "Percentage of Chemical Classes",
title = NULL,
vkBoundarySet = "bs1",
classColName = NULL
)
ftmsObj |
ftmsData object of class peakData or compoundData |
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 |
vkBoundarySet |
character vector specifying which boundary set to use when determining class. Valid options are currently "bs1" and "bs2" and defaults to "bs1". See details of |
classColName |
column name of |
a plotly object
Allison Thompson
plot_ly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.