Provides y-axis labels for strand tracks produced by geom_gene.
Now uses discrete scale to match the factor levels created by geom_gene.
The default labels are "- strand" and "+ strand" as created by geom_gene.
Usage
scale_y_strand(labels = NULL, ...)
Arguments
- labels
Character vector of labels to display. If NULL, uses the factor levels from geom_gene.
- ...
Additional arguments passed to ggplot2::scale_y_discrete.
Value
A ggplot2 scale object for the y-axis.