Ztransform: Transform P-values to Z-values

View source: R/StructFDR.R

ZtransformR Documentation

Transform P-values to Z-values

Description

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

Usage

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

Xiao, J., Cao, H., Chen, J. (2017). False discovery rate control incorporating phylogenetic tree increases detection power in microbiome-wide multiple testing. Bioinformatics, 33(18), 2873-2881.


StructFDR documentation built on May 29, 2024, 4:46 a.m.