plot_arrow | R Documentation |
Plot an error indicating the direction of phenotype specificity.
plot_arrow(
x = 1,
xend = 1,
y = 0,
yend = 1,
labels_x = c(x, xend),
labels_y = c(yend * 0.8, yend * 0.2),
labels = c("Broad\nphenotypes", "Specific\nphenotypes"),
labels_alpha = 0.8,
labels_size = 4,
arrrow_size = 2,
arrow_color = "grey50"
)
x |
x-coordinate of the arrow. |
xend |
x-coordinate of the arrow end. |
y |
y-coordinate of the arrow. |
yend |
y-coordinate of the arrow end. |
labels_x |
x-coordinates of the labels. |
labels_y |
y-coordinates of the labels. |
labels |
Labels for each end of the arrow. |
labels_alpha |
Transparency of the labels. |
labels_size |
Size of the labels. |
arrrow_size |
Size of the arrow. |
arrow_color |
Colour of the arrow. |
ggplot2 object.
plot_arrow()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.