ihw_pval_ridges: Stratified p-value density distributions

View source: R/ihw.R

ihw_pval_ridgesR Documentation

Stratified p-value density distributions

Description

Plot p-value density distribution for IHW variable strata.

Usage

ihw_pval_ridges(
  ihw_data,
  num_quantiles = 10,
  fill_color = "gray70",
  fill_alpha = 1
)

Arguments

ihw_data

An ihwResult object.

num_quantiles

Number of strata into which the independent variable is divided.

fill_color

Fill color for area under density distributions.

fill_alpha

Fill color alpha value for area under density distributions.

Details

This plot partitions the p-values by quantiles of the IHW variable to generate multiple p-value density distributions. For an informative IHW variable, the larger the quantile ID (strata) the more skew there should be towards enrichment of smaller p-values.

Value

A ggplot object.

See Also

Other ihw: ihw_diagnostic_plots(), ihw_partitioned_pval_weights(), ihw_pval_cdf(), ihw_pval_comparison(), ihw_pval_decision_boundary(), ihw_pval_scatter(), ihw_stratified_pval_hist()


bryancquach/omixjutsu documentation built on Jan. 29, 2023, 3:47 p.m.