Intelligently flip a plot with discrete data on the X axis.

acid_coord_flip(object)

Arguments

object ggplot.

Value

ggplot.

Details

This function puts the samples that were near the left origin on the X at the top on the Y axis, making them more human readable.

• coord_flip().
library(ggplot2)
print(g)acid_coord_flip(g)