Learn R Programming

StructFDR (version 1.4)

AdjStats: Prior Structure-Adjusted Statistic

Description

Produce the prior structure-adjusted statistic.

Usage

AdjStats(y, V, k, mu, fudge=0.005)

Value

a vector or a matrix of adjusted z-values

Arguments

y

a vector or a matrix of unadjusted z-values

V

a correlation matrix defined based on the prior structure

k

a numeric value representing the ratio of variance components

mu

a numeric value of the mean of the prior distribution

fudge

a small numeric value added to the diagonal of the correlation matrix to improve stability

Author

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.