Calculate p-value of Z scores.
ZPvalue(
Z,
alternative = c("two.sided", "less", "greater"),
p.adjust.method = "BH"
)A matrix of Z scores.
Alternative hypothesis used, default is two.sided.
Method used for multiple comparisons correction, default is BH. See p.adjust.
A list containing the following:
p.val, a matrix of p-values.
p.adj, a matrix of adjusted p-values.