Add max value labels to a ggplot

ggplot_max_vals(p, n_stats, width_stat = "samples", max_val_dfs, font_size)

Arguments

p

The plot to add max values to

n_stats

Tcount statistics made by get_n_stats()

width_stat

The count used to determine x-position. In sample plots, use "samples". in group plots, use "groups".

font_size

The font size in pt to use for header label plotting.

max_value_dfs

The max value list generated by build_max_dfs()

Value

a ggplot2 object