quality_check: Inspect PLFA peak list quality.

View source: R/qc_funs_base.R

quality_checkR Documentation

Inspect PLFA peak list quality.

Description

quality_check 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(df)

Arguments

df

Dataframe or tibble containing the following columns: Batch, DataFileName, RetTimeSecs, MajorHeightnA, TotalPeakArea1, DisplayDelta1, Name. df can also be a list of dataframes, with each element following the above format.

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.