plot_overview_boxplot | R Documentation |
Creates overview box plots.
plot_overview_boxplot(
df3,
out_dir = ".",
labels = "",
log10_y = F,
lvl.colors = NA,
gradient_palette = "Spectral",
legend.title = "Group",
xlab = "variable",
dot_color = "black",
ylab = "value",
font_size = 15,
line_size = 1.3,
save.to.file = T
)
df3 |
A data frame in long format with 3 columns: order must be: 1) variable to group by (groups of boxes) = factor/character, 2) levels within each group (boxes) = factor/character, 3) values = numeric |
out_dir |
The output directory where the plot will be saved, default is current working directory. |
labels |
A character vector of at least length 1 that will be collapsed for file name/plot titles. |
log10_y |
Logical (TRUE/FALSE) indicating whether to log10-transform y-axis. |
lvl.colors |
A vector of colors to manually specify levels colors = box colors. |
gradient_palette |
RColorBrewer palette for variable colors if lvl.colors is NA. See RColorBrewer::display.brewer.all() for all options. |
legend.title |
Title for legend. |
xlab |
X axis label. |
dot_color |
A string indicating what color to make points, if NA, points will not be shown. |
ylab |
Y axis label. |
font_size |
The size of axis.title, axis.text, plot.title, legend.text and legend.title. The size of plot.subtitle is font_size / 2. |
line_size |
The thickness of axis lines. |
save.to.file |
If TRUE, save plot to file in out_dir. If FALSE, print to panel. |
Plot object if save.to.file is FALSE.
Other plotting:
plot_corrplot()
,
plot_corrplotgg()
,
plot_discrete_barplot()
,
plot_heatmap()
,
plot_het_barplot()
,
plot_indiv_boxplot()
,
plot_indiv_corrscatt()
,
plot_indiv_paired()
,
plot_overview_corr_scatt()
,
plot_profile_barplot()
,
run_corrplot_analysis()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.