view_interaction: Generates a plot similar to the GWAS Manhattan plots, which...

Description Usage Arguments

View source: R/view_interaction.R

Description

See the example for a better idea of how to use the function. This style of plot is really useful to use when you have run many eg. interaction testing in a regression analysis and you want to see which variables are barely significant vs very significant, etc. Thus, multiple comparison problems can be dealt with as the plot shows how significant a variable is compared to the rest of the significance tests. This is generally the same reason why GWAS studies use Manhattan plots.

Usage

1
view_interaction(data, groups = "~Yterms", ylab = "Exposure")

Arguments

data

Dataset from a regression with the p-values

groups

The column that splits the tests up, usually is the dependent variable for regression type analyses.

ylab

The label for the y-axis.


lwjohnst86/seer documentation built on May 21, 2019, 9:15 a.m.