multi_pval2z: Convert multiple columns of p-values to Z-scores

View source: R/multi_pval2z.R

multi_pval2zR Documentation

Convert multiple columns of p-values to Z-scores

Description

Convert multiple columns (from a table-like object) of p-values from two-sided tests to Z-scores.

Usage

multi_pval2z(tab, prefix.v = NULL, p.suffix = "p", direction.suffix = "logFC")

Arguments

tab

Table of output from ezlimma.

prefix.v

A vector of prefixes that prefix .p, .FDR, or .logFC in colnames(tab). These will be the columns that are used in the Venn diagram. If NULL these are inferred from colnames(tab) that end with .p.

p.suffix

The suffix of p-value columns, i.e. the character string after the period "."

direction.suffix

The suffix of direction columns such as log fold-change, regression slope, correlation coefficient, or the "Up/Down" values

Value

Matrix of Z-scores.


jdreyf/jdcbioinfo documentation built on April 15, 2024, 6:37 p.m.