View source: R/visualization.R
plot_injection_order | R Documentation |
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
)
object |
A Metabolite object. |
color |
A column in '@sampleData' to show the color of points. |
shape |
A column in '@sampleData' to show the shape of points. |
size |
Point size. |
ID_order |
Injection ID order in the '@sampleData'. |
feature_name |
A vector of selected metabolites to plot. If NULL, will randomly select 16 (default) metabolites to plot. |
random_select |
An integer, number of randomly selected metabolites to plot. |
A scatterplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.