04pallav
9/13/2017 - 9:25 PM

Reordering levels inside barplots or heatmaps

Reordering levels inside barplots or heatmaps

positions <- c("less than 10%","10-30%","30-50%","50-70%","70%-100%")
scale_x_discrete(limits = positions)