Description Usage Arguments Details Value Author(s) Examples
Package-wide, non-user function used to set a base ggplot2
theme.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | basetheme(
titleLabSize,
subtitleLabSize,
captionLabSize,
axisLabSize,
xlabAngle,
xlabhjust,
xlabvjust,
ylabAngle,
ylabhjust,
ylabvjust,
legendPosition,
legendLabSize
)
|
titleLabSize |
Size of plot title. |
subtitleLabSize |
Size of plot subtitle. |
captionLabSize |
Size of plot caption. |
axisLabSize |
Size of x- and y-axis labels. |
xlabAngle |
Rotation angle of x-axis labels. |
xlabhjust |
Horizontal adjustment of x-axis labels. |
xlabvjust |
Vertical adjustment of x-axis labels. |
ylabAngle |
Rotation angle of y-axis labels. |
ylabhjust |
Horizontal adjustment of y-axis labels. |
ylabvjust |
Vertical adjustment of y-axis labels. |
legendPosition |
Position of |
legendLabSize |
Size of plot legend text. |
Package-wide, non-user function used to set a base ggplot2
theme.
A list
object.
Kevin Blighe <kevin@clinicalbioinformatics.co.uk>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # create a theme
th <- basetheme(
titleLabSize = 16,
subtitleLabSize = 12,
captionLabSize = 12,
axisLabSize = 16,
xlabAngle = 0,
xlabhjust = 0.5,
xlabvjust = 0.5,
ylabAngle = 0,
ylabhjust = 0.5,
ylabvjust = 0.5,
legendPosition = 'none',
legendLabSize = 12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.