Plot PhecodeX PheWAS results
plot_phewasx.Rd
Plot PhecodeX PheWAS results
Usage
plot_phewasx(
data,
beta_var = "beta",
log10p_var = "log10p",
color_var = "color",
phe_var = "exposure",
threshold_color = "red",
order_reset = TRUE,
group_space = 20,
label_top = 5,
title = NULL,
genetic_offset = 15,
color_dot_pt = 15,
color_dot_symbol = "●",
label_size = 3
)
Arguments
- data
data of PheWAS results
- beta_var
name of column containing beta values
- log10p_var
name of column containing -log10(p) values
- color_var
name of column containing color values
- phe_var
name of column containing phecode values
- threshold_color
color of dashed line at p = 0.05
- order_reset
reset ordering of phecodes
- group_space
space between groups
- label_top
number of top phecodes to label
- title
title of plot
- genetic_offset
offset for genetic phecodes
- color_dot_pt
size of color dots
- color_dot_symbol
symbol for color dots
- label_size
size of labels