plot_injection_lm: Estimate the magnitude of drift

Description Usage Arguments Value See Also Examples

View source: R/qc_visualizations.R

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

1
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

1
plot_injection_lm(merged_sample)

antonvsdata/amp documentation built on Jan. 8, 2020, 3:15 a.m.