This function takes a wide table of p-values (i.e. one column for each statistical test), converts it to long format, and creates a density plot of the p-values by each test.
plot_distribution_results(df, alpha = 0.05, outlier_removal = 0.1)
ggplot object
data frame where each column is a set of p-values for a different statistical test
numeric. significance level
numeric. set x-axis scale maximum by proportion