BoxView | R Documentation |
Boxplot
BoxView(
gg,
x,
y,
color = "black",
fill = NA,
width = 0.5,
size = 1,
comparisons = NULL,
test.method = "wilcox.test",
p.label = c("p.signif", "p.format")[1],
add.jitter = FALSE,
jitter.color = color,
jitter.size = size,
jitter.shape = 16,
jitter.width = 0.2,
jitter.height = 0,
label = NULL,
toplabels = c(),
label.size = 5,
label.force = 3,
alpha = 1,
main = NULL,
xlab = x,
ylab = y,
legend.position = "none",
...
)
gg |
A data frame. |
x |
Character, specifying the column name for x plotting. |
y |
Character, specifying the column name for y plotting. |
color |
Character, specifying the column name/color. |
fill |
Character, specifying the column name/fill color. |
width |
Numeric, specifying the box width. |
size |
Numeric, specifying size of the box. |
comparisons |
A list, customizing the comparisons. |
test.method |
Character, specifying the statistical test method. |
p.label |
Character, "p.signif" (shows the significance levels), or "p.format" (shows the formatted p value). |
add.jitter |
Boolean, whether add jitter into the plot. |
jitter.color |
Character, specifying the column name/color of the points. |
jitter.size |
Numeric, specifying size of the jitter. |
jitter.shape |
Numeric, specifying the shape of the dots. |
jitter.width |
Numeric, specifying the width of the jitter region. |
label |
Character, specifying the column name for dot label. |
toplabels |
Character, specifying the column name/color of the points. |
label.size |
Numeric, specifying size of the labels. |
label.force |
Numeric, force of repulsion between overlapping text labels. Defaults to 3. |
alpha |
A numeric, specifying the transparency of the boxes. |
main |
Title of the figure. |
xlab |
Title of x-axis |
ylab |
Title of y-axis. |
legend.position |
Position of legend, "none", "right", "top", "bottom", or a two-length vector indicating the position. |
... |
Other parameters in geom_boxplot. |
An object created by ggplot
, which can be assigned
and further customized.
Wubing Zhang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.