Plot a Metabolite object including boxplot (more to add.).
plot_Metabolite(
object,
plot = "boxplot",
x = "NEG",
feature_name = NULL,
color = "NEG",
shape = "NEG",
fill = "NEG",
random_select = 16,
size = 0.6,
n_row = 1,
n_col = 1,
ylab = "featureID",
height = 10,
width = 10,
save_to_file = NULL
)
A Metabolite object.
type of plot, current support `boxplot` and `betweenstats`.
The x-axis coordinate.
A vector of selected metabolites to plot. If NULL, will randomly select 16 (default) metabolites to plot.
A column in `@sampleData` to show the color of points.
A column in `@sampleData` to show the shape of points.
A column in `@sampleData` to show the `fill` for histogram.
An integer, number of randomly selected metabolites to plot.
Point size.
Number of rows of subfigures for `betweenstats`
Number of columns of subfigures for `betweenstats`
Column name to annotate the y-axis in `betweenstats` (eg. "BIOCHEMICAL"), default column: "featureID".
Height of the figure.
Width of the figure.
Path to save the figure.
A boxplot of a Metabolite object