calculate_indicators: Calculate concentration and relative abundance of indicator...

View source: R/data_processing_base.R

calculate_indicatorsR Documentation

Calculate concentration and relative abundance of indicator lipids

Description

This function aggregates lipid concentration data into indicator groups (eg. fungal lipids, bacterial lipids) and calculates their relative abundance. Indicator groups reported as the sum of lipid concentration/ abundance of all lipids in that group. This also calculates total biomass and fungal:bacterial lipid ratio.

Usage

calculate_indicators(df, soil_wt_df)

Arguments

df

Dataframe or tibble generated from process_peak_area() or a dataframe/tibble with the same fields and format

soil_wt_df

Dataframe or tibble containing the dry weight (g) of soil used for lipid extraction for each sample.

dat

Dataframe or tibble with named PLFA peak data following format specified by import_batch().

Value

Tibble similar to input with the addition of columns for indicator groups (including total biomass), relative abundance, concentration, and fungal:bacterial lipid ratio.


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