chain.length.stack: chain.length.stack

View source: R/18_plots.R

chain.length.stackR Documentation

chain.length.stack

Description

This function generate a stacked barplot indicating the distribution of the chain lengths within 4 chain lengths categories.

Usage

chain.length.stack(X)

Arguments

X

is a ~.chain object

Details

This function will place the chains in four categories based on their length: 1-SCFA (Short-Chain Fatty Acid, 5 or fewer carbons), 2-MCFA (Medium-Chain Fatty Acid, 6-12 carbons), 3-LCFA(Long Chain Fatty Acid, 13-21 carbons), and 4-VLCFA(Very Long Chain Fatty Acid, >22 carbons). This function require ggplot2 to generate the graphics.

Author(s)

Geremy Clair

Examples

chain.length.stack(queryExample.chain)

PNNL-Comp-Mass-Spec/Rodin documentation built on Jan. 28, 2024, 2:12 a.m.