Description Usage Arguments Value Examples
lipidr
supports two types of plots for sample quality checking.
tic
plots a bar chart for total sample intensity.
boxplot
plots a boxplot chart to examine the distribution of values
per sample.
1 2 3 4 5 6 7 |
data |
LipidomicsExperiment object. |
type |
plot type, either |
measure |
Which measure to use as intensity, usually Area,
Area Normalized or Height. Default is |
log |
Whether values should be log2 transformed. Default is |
color |
The column name of a sample annotation to be used as color |
A ggplot object.
1 2 3 4 5 6 7 8 9 | data(data_normalized)
plot_samples(data_normalized, type = "tic", "Area", log = TRUE)
plot_samples(data_normalized, type = "tic", "Background", log = FALSE)
plot_samples(
data_normalized[, data_normalized$group == "QC"],
type = "boxplot",
measure = "Retention Time", log = FALSE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.