Description Usage Arguments Value Author(s) Examples
Draw barplot based on ggplot2, using data containg grouping info. Only can draw one valuable. Function 1.
1 2 3 4 5 6 7 8 9 |
data |
A dataframe that containing the grouping info and multiple numaric valiabes. |
variable |
The collum that will be used to draw the barplot. |
comparisons |
a list that indicated which group to be compared. |
test |
The method that used for significant test, one of "t.test" and "wilcox.test". The default method is "wilcox.test". |
jitter |
A boolean value indicates whether add jitter points to the plot. The default value is TRUE. |
y_position |
A vector shows the values to be used in positions of the results significant tests. |
x.text.angle |
A numaric number indicated the angle of axix.test.x. |
The ggbarplot
Zhonghui Gai
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.