gap_label {gapmap} | R Documentation |
Function to draw a gapped labels
Description
This function draws a gapped labels using the ggplot2 package. The input for the function is the gapdata class object, generated from gap_data() function.
Usage
gap_label(data, orientation, label_size = 5)
Arguments
data |
gapdata class object |
orientation |
orientation of the labels, "left", "top", "right", or "bottom" |
label_size |
a numeric to set the label text size |
Value
a ggplot object
[Package gapmap version 1.0.0 Index]