add_p.adjust: Adds columns of adjusted p-values

Description Usage Arguments Value See Also

Description

Adds adjusted p-values to a dataframe. Helper functions wrap 'add_p.adjust' for common additions.

Usage

1
2
3
4
5
6
add_p.adjust(data, method = stats::p.adjust.methods, p_value = "p.value",
  var = NULL)

add_bonf_pv(data, p_value = "p.value", var = NULL)

add_fdr_pv(data, p_value = "p.value", var = NULL)

Arguments

data

data frame

method

scalar character: which adjustment method to use. See p.adjust for more info.

p_value

scalar character: name of the p-value column.

var

scalar character: name of the column to be created. if 'NULL' then it attempts to create its own column. To avoid accidenntally overwriting an existing column, it is safer to always supply a name here.

Value

data frame

See Also

Other augmenters: add_nlog10_pv


biodatacore/biodatacoreMTM documentation built on May 12, 2019, 8:41 a.m.