add_nlog10_pv: Adds -1*log_10() to a data frame

Description Usage Arguments Value See Also

Description

Negative log 10 pvalues are often used when comparing a large number of pvalues. It ends up with a more natural scale, where larger values are "more significant."

Usage

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

Arguments

data

data frame

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_p.adjust


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