fishp {corrmeta}R Documentation

Calculate Fisher's method p-value and meta-analysis statistics

Description

Calculate Fisher's method p-value and meta-analysis statistics

Usage

fishp(df, vars, df_sigma, sum_sigma)

Arguments

df

data frame with "markname" and study names as column names.

vars

character vector of study names to include in the meta-analysis.

df_sigma

data frame of tetrachoric correlations.

sum_sigma

sum of tetrachoric correlations.

Value

A data frame with columns 'markname', 'sum_chisq', 'sum_z', 'sum_sigma_var', 'pvalue', 'meta_z', 'meta_p', 'meta_nlog10p'

Examples

  data(snp_example)
  head(snp_example)
  varlist <- c("trt1","trt2","trt3")
  tc <- tetracorr(snp_example, varlist)
  fishp(snp_example, varlist, tc$sigma, tc$sum_sigma)

[Package corrmeta version 1.0.0 Index]