Injection order scatterplot. The `@sampleData` should be sorted by injection order, with a new column `ID` from 1 to N.
plot_injection_order(
object,
color = "NEG",
shape = "NEG",
size = 0.6,
ID_order = "ID_injection_order",
feature_name = NULL,
random_select = 16
)
A Metabolite object.
A column in `@sampleData` to show the color of points.
A column in `@sampleData` to show the shape of points.
Point size.
Injection ID order in the `@sampleData`.
A vector of selected metabolites to plot. If NULL, will randomly select 16 (default) metabolites to plot.
An integer, number of randomly selected metabolites to plot.
A scatterplot.