p_adjust: P-value Adjustments by Methods

Description Usage Arguments Details

Description

This function outputs a dataframe with the original p-values and their adjustments by the specified method.

Usage

1
p_adjust(data, pv_index, method, alpha = 0.05)

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

method

(string) method used for the adjustment ("bh" or "bonf")

alpha

(numeric) significance level for both methods

Details

Requirements: Dplyr


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