View source: R/annot_layer_discrete_x.R
annot_layer_discrete_x | R Documentation |
Creates discrete annotation layer
annot_layer_discrete_x( data, pos_table_x, x = "observations", value = "groups", colors = NULL, legend.direction = "vertical", legend.title = "" )
data |
data |
pos_table_x |
pos_table_x (function specific) |
x |
x-axis column |
value |
value column |
colors |
color vector |
legend.direction |
direction of legend entries ("horizontal", "vertical") |
legend.title |
title of legend |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.