wstouffer: Weighted Stouffer integration of Z scores

View source: R/gsea.R

wstoufferR Documentation

Weighted Stouffer integration of Z scores

Description

This function gives a gaussian Z-score corresponding to the provided p-value Careful: sign is not provided

Usage

wstouffer(x, w)

Arguments

x

a vector of Z scores

w

weight for each Z score

Value

Z an integrated Z score

Examples

zs<-c(1,-3,5,2,3)
ws<-c(1,10,1,2,1)
wstouffer(zs,ws)

corto documentation built on May 29, 2024, 5:46 a.m.