ggpubr::theme_pubr
themePubrRaw.Rd
Set a Pubr theme and additional options like other themes,
graph + themePubrRaw()
.
This function is a modification of
ggpubr::theme_pubr
that create a publication ready
theme.
themePubrRaw(
base_size = getGraphOption("fontsize"),
base_family = getGraphOption("family"),
border = FALSE,
margin = TRUE,
legend = getGraphOption("legend.position"),
x.text.angle = 0,
axisTickLength = getGraphOption("axisTickLength"),
axisTickWidth = getGraphOption("axisTickWidth")
)
base font size
base font family
logical value. Default is FALSE. If TRUE, add panel border.
logical value. Default is TRUE. If FALSE, reduce plot margin.
character specifying legend position. Allowed values are one of c("top", "bottom", "left", "right", "none"). Default is "top" side position. to remove the legend use legend = "none". Legend position can be also specified using a numeric vector c(x, y). In this case it is possible to position the legend inside the plotting area. x and y are the coordinates of the legend box. Their values should be between 0 and 1. c(0,0) corresponds to the "bottom left" and c(1,1) corresponds to the "top right" position. For instance use legend = c(0.8, 0.2).
Rotation angle of x axis tick labels. Default value is 0. Use 90 for vertical text.
length of axis ticks.
width of axis ticks.