fishp | R Documentation |
Calculate Fisher's method p-value and meta-analysis statistics
fishp(df, vars, df_sigma, sum_sigma)
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. |
A data frame with columns 'markname', 'sum_chisq', 'sum_z', 'sum_sigma_var', 'pvalue', 'meta_z', 'meta_p', 'meta_nlog10p'
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.