abundance.summary {LipidomicsR} | R Documentation |
Summarize Abundance Data
Description
This function summarizes abundance data based on specified groups.
Usage
abundance.summary(
data,
group,
istotal = FALSE,
.summary = function(x) mean(x),
.error = function(x) sd(x)
)
Arguments
data |
The data frame containing abundance data. |
group |
A vector specifying the group membership for each sample. |
istotal |
Logical. If is true, the total summary table of lipid type, carbon number and unsaturation rate will be generated. |
.summary |
A function to summarize abundance data within each group (default is mean). |
.error |
A function to compute error measures within each group (default is standard deviation). |
Value
A data frame summarizing abundance data by species, group, lipid type, carbon number, and unsaturation.
[Package LipidomicsR version 0.3.6 Index]