This function is used internally to help document other functions.
documentFun(
title = NULL,
xLab = "x",
yLab = "y",
legendTitle = "Legend",
legendLabs = c("a", "b"),
legendPos = "right",
palette = "Spectral",
viridisPal = "turbo",
labeledPoints = NULL,
labelType = "free",
labelOutside = TRUE,
labelSize = 2.5,
labelColor = "black",
labelRepulsion = 1,
labelPull = 1,
maxOverlaps = 50,
boxPadding = 0.2,
labelPadding = 0.1,
labelSegWidth = 0.4,
pointSize = 0.8,
pointShape = 1,
legendTitleSize = 10,
legendTextSize = 10,
axisTextSize = 12,
axisTitleSize = 12,
xAngle = 45,
vJust = 0.6,
margins = margin(0, -10, -10, -10),
theme = "linedraw",
pvalOffset = 1.00000023069254e-317,
...
)NULL. This function is only used internally for
documentation.
Plot title.
x axis label.
y axis label.
Legend title.
Legend labels.
Legend position.
Color palette.
Viridis palette.
Point labels to be displayed on the plot.
Whether to draw a box around labels (option 'boxed') or not (option 'free'). Default is 'free'.
Label size.
Label color.
Repulsion strength between labels.
Attraction strength between a text label and its data point.
Maximum number of allowed overlaps.
Amount of padding around box.
Amount of padding around label.
Thickness of segment connecting label to point.
Point size.
Point shape.
Legend title size.
Legend text size.
Axis text size.
Axis title size.
Angle of x axis text.
Vertical justification in [0, 1].
Plot margins. Must be a vector of size 4 listing the desired top, right, bottom and left margin, in that order.
Plot theme.
Offset added to p-values to avoid infinite values when taking logarithms.
Additional arguments passed to centerTitle.