find_missing: 'find_missing' Identifies samples that are missing lipids...

View source: R/qc_funs_base.R

find_missingR Documentation

find_missing Identifies samples that are missing lipids that are expected to be in all samples. For example, 13:0 and 19:0 lipids are added to all samples as standard and surrogate standard, so these lipids missing may indicate issues with the run or with the naming. For peat samples, 16:0 is expected to appear in all samples, as this lipid is present in Sphagnum.

Description

find_missing Identifies samples that are missing lipids that are expected to be in all samples. For example, 13:0 and 19:0 lipids are added to all samples as standard and surrogate standard, so these lipids missing may indicate issues with the run or with the naming. For peat samples, 16:0 is expected to appear in all samples, as this lipid is present in Sphagnum.

Usage

find_missing(df, lipids = c("13:0", "16:0", "19:0"))

Arguments

df

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

lipids

Character vector listing the lipids that should be found in all samples.

Value

Dataframe indicating the sample containing missing the specified lipids, and the lipids within the sample that were missing.


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