plot_injection_lm: Estimate the magnitude of drift

View source: R/qc_visualizations.R

plot_injection_lmR Documentation

Estimate the magnitude of drift

Description

Plots histograms of p-values from linear regression model, where each feature is predicted by injection order alone. The expected uniform distribution is represented by a dashed red line.

Usage

plot_injection_lm(object, all_features = FALSE)

Arguments

object

A MetaboSet object

all_features

logical, should all features be used? If FALSE (the default), flagged features are removed before visualization.

Value

A ggplot object

See Also

plot_p_histogram

Examples

plot_injection_lm(merged_sample)


antonvsdata/notame documentation built on Sept. 14, 2024, 11:09 p.m.