R/stouffer.R

Defines functions stouffer

stouffer <-
function(x){
  x <- x[!is.na(x)]
  pnorm(sum(qnorm(x)) / sqrt(length(x)))
}

Try the Tnseq package in your browser

Any scripts or data that you put into this service are public.

Tnseq documentation built on May 1, 2019, 7:31 p.m.