Stacked bar charts in omics studies display the relative abundances between and within groups, revealing compositional differences among samples.
Input
Relative species abundance table A tab-separated text file containing row and column headers, where each column represents a sample, and each row represents a taxonomic unit (gene names are unique and non-repeating).

Group Information Table
A tab separated text file containing row and column names, with column names fixed at (SampleID, Categorize). The first column is the sample name, and the second column is the corresponding group for the sample.

Output

In a stacked bar chart, the total length of the vertical axis is 1, and the horizontal axis represents sample names. The longer the length of the box corresponding to each color, the higher the proportion of that taxonomic unit in that sample.