Ztransform: Transform P-values to Z-values

Description Usage Arguments Value Author(s) References

View source: R/StructFDR.R

Description

Transform the p-values to z-values. Both two-sided and one-sided transformations are implemented.

Usage

1
Ztransform(p.value, e.sign, eff.sign = TRUE, tol = 1e-15)

Arguments

p.value

a vector of p-values

e.sign

a vector of signs of the effects, taken on value -1 and 1. (In effects when 'eff.sign = TRUE')

eff.sign

a logical value indicating whether the direction/sign of the effect should be considered

tol

a numeric value at which the p-value (both ends) will truncate.

Value

a vector of z-values

Author(s)

Jun Chen

References

Jian Xiao, Hongyuan Cao and Jun Chen (2016). False discovery rate control incorporating phylogenetic tree increases detection power in microbiome-wide multiple testing. Submitted.


StructFDR documentation built on May 2, 2019, 9:44 a.m.