Use this function to produce a bar plot when the input is the result of using the table function to a numeric vector
make_barplot_on_models_stats(models.stats, cell.line, title, xlab, ylab,
cont.values = FALSE, threshold = 0)
table object, the result of using table on a (numeric) vector. Usually it represents some models statistics summary - counts for each TP prediction value for example.
string. The name of the cell line to be used in the title of the produced plot. Default value: NULL (the cell line name will not be added to the title)
string. The title of the plot
string. The title of the x-axis
string. The title of the y-axis
logical. If TRUE, the values of the x-axis will be trimmed to 3 digits after the decimal point. Default value: FALSE.
integer. Values from the model.stats
that are less
or equal to the threshold will be pruned. Use it when there too many
categories and the graph appears too dense. Default value: 0