Simple heatmap helper to get a default adjacent side for another annotation

adjacent_side(side = c("top", "right", "bottom", "left"))

Arguments

side

one of "top", "right", "bottom", or "left"

Value

character

Examples

adjacent_side("top")
#> [1] "right"