Manually generate boxplots from an xpdb object.
Usage
xplot_boxplot(
xpdb,
mapping = NULL,
type = "bo",
xscale = "discrete",
yscale = "continuous",
orientation = "x",
group = "ID",
title = NULL,
subtitle = NULL,
caption = NULL,
tag = NULL,
plot_name = "boxplot",
gg_theme,
xp_theme,
opt,
quiet,
jitter_seed,
...
)
Arguments
- xpdb
<
xp_xtras
> or <xpose_data
> object- mapping
ggplot2
style mapping- type
See Details.
- xscale
Defaults to
discrete
.- yscale
Defaults to
continuous
, used as check iforientation
changed.- orientation
Defaults to
x
- group
Grouping for connecting lines through jitter
- title
Plot title
- subtitle
Plot subtitle
Plot caption
- tag
Plot tag
- plot_name
Metadata name of plot
- gg_theme
As in
xpose
- xp_theme
As in
xpose
- opt
Processing options for fetched data
- quiet
Silence extra debugging output
- jitter_seed
A numeric, optional seed to be used in jitters
- ...
Any additional aesthetics.
Details
For type-based customization of plots:
b
box-whisker (using default quantiles)p
points (fromgeom_dotplot
)v
violin (fromgeom_violin
)o
outliers (show outliers)l
line through 0 (or as indicated inhline_yintercept
oryline_xintercept
)s
smooth line (fromgeom_smooth
)j
jitter points (fromgeom_jitter
)c
connecting lines for jitter points (fromgeom_path
)