p_qq: Multiple Comparison QQ-plot

Description Usage Arguments Details Value

Description

This function plots all the raw p-values and compares them with a theoretical uniform distribution using a qq plot. This plot is created with a negative log scale, letting us visualize all the p-values, independent of their small magnitudes. The p-values deviated from the diagonal line, are the ones that are significant.

Usage

1
p_qq(data, pv_index)

Arguments

data

(dataframe) dataframe containing at least a column of p-values to be adjusted

pv_index

(numeric) if the input is a dataframe, col refers to the column name of the dataframe that has the p-values

Details

Requirements: ggplot2

Value

ggplot a ggplot object with the qq plot.


UBC-MDS/ptoolkit documentation built on May 25, 2019, 1:36 p.m.