... |
additional parameter
additional parameters can refer the following parameters.
The following parameters for geom="text".
-
size control the size of tip labels, default is 3.88.
-
colour control the colour of tip labels, default is "black".
-
angle control the angle of tip labels, default is 0.
-
vjust A numeric vector specifying vertical justification, default is 0.5.
-
alpha the transparency of text, default is NA.
-
family the family of text, default is 'sans'.
-
fontface the font face of text, default is 1 (plain), others are
2 (bold), 3 (italic), 4 (bold.italic).
-
lineheight The height of a line as a multiple of the size of text, default is 1.2 .
-
nudge_x horizontal adjustment to nudge labels, default is 0.
-
nudge_y vertical adjustment to nudge labels, default is 0.
-
check.overlap if TRUE, text that overlaps previous text in the same layer
will not be plotted.
-
parse if TRUE, the labels will be parsed into expressions, if it is 'emoji', the labels
will be parsed into emojifont.
The following parameters for geom="label".
-
size the size of tip labels, default is 3.88.
-
colour the colour of tip labels, default is "black".
-
fill the colour of rectangular box of labels, default is "white".
-
vjust numeric vector specifying vertical justification, default is 0.5.
-
alpha the transparency of labels, default is NA.
-
family the family of text, default is 'sans'.
-
fontface the font face of text, default is 1 (plain), others are
2 (bold), 3 (italic), 4 (bold.italic).
-
lineheight The height of a line as a multiple of the size of text, default is 1.2.
-
nudge_x horizontal adjustment to nudge labels, default is 0.
-
nudge_y vertical adjustment, default is 0.
-
check.overlap if TRUE, text that overlaps previous text in the same layer
will not be plotted.
-
parse if TRUE, the labels will be parsed into expressions, if it is 'emoji', the labels
will be parsed into emojifont.
-
label.padding Amount of padding around label, default is 'unit(0.25, "lines")'.
-
label.r Radius of rounded corners, default is 'unit(0.15, "lines")'.
-
label.size Size of label border, in mm, default is 0.25.
The following parameters for geom="shadowtext", some parameters are like to geom="text".
-
bg.colour the background colour of text, default is "black".
-
bg.r the width of background of text, default is 0.1 .
The following parameters for geom="image" or geom="phylopic".
-
image the image file path for geom='image', but when geom='phylopic',
it should be the uid of phylopic databases.
-
size the image size, default is 0.05.
-
colour the color of image, default is NULL.
-
alpha the transparency of image, default is 0.8.
The following parameters for the line when align = TRUE.
-
colour the colour of line, default is 'black'.
-
alpha the transparency of line, default is NA.
-
arrow specification for arrow heads,
as created by arrow(), default is NULL.
-
arrow.fill fill color to usse for the arrow head (if closed),
default is 'NULL', meaning use 'colour' aesthetic.
|