quality_check_tidy: Inspect PLFA peak list quality.

View source: R/qc_funs.R

quality_check_tidyR Documentation

Inspect PLFA peak list quality.

Description

quality_check_tidy returns a list of dataframes containing the following information related to the quality of the data in the peak list: Samples with duplicate peak names Samples that are missing one or more of the standards peaks 13:0, 16:0, 19:0 The distribution of lipids among samples. Function will also notifiy you of batches with these issues in the console whether or not you store the return values

Usage

quality_check_tidy(df)

Arguments

df

Dataframe or tibble containing the following columns: Batch, DataFileName, RetTimeSecs, MajorHeightnA, TotalPeakArea1, DisplayDelta1, Name.

Value

List of dataframes indicating samples with duplicate peak names, samples missing standard peaks, and the distribution of lipids among samples.

Examples

If you receive a warning, you can easily pull out relevant details using
lapply().

lapply(qc_stats_2016, function(x){ # pull out dup lipids to ID samples
x$duplicate_lipids
}
)




mlfelice/plfaR documentation built on June 9, 2022, 4:28 p.m.