pval2z | R Documentation |
Counvert two-sided test p-values to Z-scores using qnorm
.
pval2z(pval, direction)
pval |
Vector of two-sided test p-values. |
direction |
Numeric or character vector of same length of p-value vector. Examples of numeric values are log fold-change, regression slope, or correlation coefficient. For character values, only "Up" and "Down" are allowed. |
P-values of zero are changed to half the lowest non-zero p-value and p-values of one are analogously changed, as p-values of zero or one would yield infinite z-scores.
Vector of Z-scores.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.