plot_coefs: Visualize regression coefficients

View source: R/make_plots.R

plot_coefsR Documentation

Visualize regression coefficients

Description

This function generates either a violin plot of regression coefficient values or a volcano plot of regression coefficient values by p-value.

Usage

plot_coefs(
  model_coefs,
  plot_type = "violin",
  volcano_term = "A",
  conf_int = 0.95,
  p_adj_method = "fdr",
  p_adj_group = c("all", "subset_only")
)

Arguments

model_coefs

data frame; output from 'parse_coefs'

plot_type

character; one of 'violin' or 'volcano'

volcano_term

character; coefficient group to plot

conf_int

numeric; threshold for statistical significance

p_adj_method

character; 'method' argument for 'p.adjust' for multiple hypothesis correction

p_adj_group

character; one of 'all' or 'subset_only'


amandamok/choros documentation built on March 15, 2023, 7:57 p.m.