OR_grid: Make a color-coded grid of odds ratios

Description Usage Arguments See Also

View source: R/OR_grid.R

Description

OR_grid Makes a grid of ORs, color-coded OR and significance

Usage

1
2
3
OR_grid(dat, x, y, OR = "OR", p.value = "p.value", alpha = 0.05,
  breaks = c(0, 0.3, 0.7, 1, 2, 5, Inf), label_size = NULL,
  coord_flip = FALSE)

Arguments

dat

A data frame

x

The value to map to the x axis

y

The value to map to the y axis

OR

The odds ratio

p.value

The p-value

alpha

The cutoff for significance

breaks

The discrete values by which to color code ORs

label_size

The size of the labels

coord_flip

Whether or not to flip coordinates

See Also

OR_grid_large


graggsd/sggplot documentation built on May 28, 2019, 8:54 p.m.