Skip to contents

A convenience view of SignificanceConfig. Adjustment uses the full supplied testing family, including missing slots; missing p-values are not plotted. The reference is at one minus the significance threshold.

Usage

draw_pvals(
  x,
  xnames = names(x),
  p_adjust_method = "none",
  pval_hline = 0.05,
  ...
)

Arguments

x

Numeric: P-values in [0, 1] or NA.

xnames

Optional Character: Feature labels, otherwise names of x.

p_adjust_method

Character: A method from stats::p.adjust.methods.

pval_hline

Numeric (0, 1): Significance threshold.

...

Additional arguments passed to draw_manhattan().

Value

htmlwidget: Bars showing one minus adjusted p-values.

Examples

draw_pvals(c(A = .01, B = .2, C = .04), p_adjust_method = "holm")