p_plot: P-value Summary Plot

Description Usage Arguments Value

Description

This function plots all the p-values in ascending order and compares them with two lines, one representing the BH cutoff point and another one the Bonferroni cutoff.

Usage

1
p_plot(data, pv_index, alpha = 0.05)

Arguments

data

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

alpha

(numeric) significance level for both methods

Value

ggplot dataframe output from the p_methods function


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