Transform RiboClass data to a "ggplot-friendly" data frame.
Source:R/format_to_plot.R
format_to_plot.Rd
Turn a RiboClass into a dataframe that should be ready to be used in ggplot. Metadata columns can be added if extra informations are needed.