ztransformPvalues: Z-tranfsorm a vector of pvalues

Description Usage Arguments Value

View source: R/gsea-helpers.R

Description

These values are useful for heatmap plotting. TODO: Implement ztransformPvalues

Usage

1
ztransformPvalues(x, logFC, alternative = c("two.sided", "less", "greater"))

Arguments

x

numeric vector of pvalues

logFC

numeric vector as long as x that indicates the sign of the shift. This does not have to be the actual logFC of the geneset, as it is merely transformed to its sign.

alternative

were these obtained from a two-sided or one-sided test?

Value

numeric vector of the ztransformed pvalues in x.


lianos/multiGSEA documentation built on Nov. 17, 2020, 1:26 p.m.