Skip to contents

This function can be used to neatly format the p-values associated with an extended solutions matrix. It can also calculate the negative logs of those p-values to make it easier to interpret large-scale differences.

Usage

get_pvals(
  extended_solutions_matrix,
  negative_log = FALSE,
  keep_summaries = TRUE
)

Arguments

extended_solutions_matrix

The output of extend_solutions. A dataframe that contains at least one p-value column ending in "_pval".

negative_log

If TRUE, will replace p-values with negative log p-values.

keep_summaries

If FALSE, will remove the mean, min, and max p-value.