plotFeature | R Documentation |
Plot the trend of a feature.
plotFeature(analysis, feature, cls = "class", label = NULL, labelSize = 2, ...)
## S4 method for signature 'AnalysisData'
plotFeature(analysis, feature, cls = "class", label = NULL, labelSize = 2)
## S4 method for signature 'Analysis'
plotFeature(
analysis,
feature,
cls = "class",
label = NULL,
labelSize = 2,
type = c("pre-treated", "raw")
)
analysis |
an object of class |
feature |
feature name to plot |
cls |
information column to use for class labels |
label |
information column to use for sample labels |
labelSize |
sample label size |
... |
arguments to pass to the appropriate method |
type |
|
d <- analysisData(metaboData::abr1$neg,
metaboData::abr1$fact)
## Plot a categorical response variable
plotFeature(d,'N133',cls = 'day')
## Plot a continuous response variable
plotFeature(d,'N133',cls = 'injorder')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.