remove_common_contaminants: remove_common_contaminants

Description Usage Arguments Value

View source: R/remove_common_contaminants.R

Description

This function removes LAS surfactants and stearic and palmitic acids from the assigned formulas. It can be useful for visualizing the remaining NOM components, but should not be used without appropriate disclosure and annotation. Removing these contaminants also doesn't remove their influence on the other detected ions and assigned formulas, which can be reduced in number due to the presence of high abundance contaminants.

Usage

1

Arguments

df

a tibble containing the following column names: "chem_formula", "class_hetero", "KMD_CH2" (from the compute_KMD_CH2() function), "z_CH2" (from the compute_z_CH2() function), and "rel_abund"

Value

df after removing the specified contaminants


robertyoung3/MSanalyzeNOM documentation built on June 7, 2021, 7:46 a.m.