data: Data frame x: Variable for X axis. The mean and sd/sem would calculated. Col: The second variable. The mean and sd/sem would be calculated based on the `x` and `Col` fill: Colors for the bar. Defaultis the Variable BarW: float. Width of the bar BarAl:0:1: Alpha of the bar ErbW: float: Width of the Error bar Plate:"Set1", "Paired", ... Color Plate. Check all plate by `brewer.pal.info` Facet:"wrap", "grid": `facet_wrap` if there has `Col`. Facet_row: facet by a variable in row. No statistics. scales:as facet_grid(scales=...) space:as facet_grid(space=...)
How to use different types of data with this function
Due to some unpleasant reasons, the logic of this functions is kind of wired and jumping. Instead of insert more “wired” patches to confusing myself, I decided not rewrite this function but given more detailed descriptions and examples. Cheers!
Tips 1: DO NOT CONTAIN “-” IN YOUR SAMPLE/GROUP NAMES, it would ruine the Tukey-test function.
Tips 2: Assign all the character variables into factors. It would solve most of unpleasant errors.
Tips 3: Sort your axis into a desire order. The final result would follows the order of the data rather than levels.