Combines all p-values per rows.

pvalues_fisher_method(pvalues)

Arguments

pvalues

a matrix of pvalues, with columns corresponding to different tests or sources of p-values, and rows corresponding to the genes from which the p-values come.

Value

a vector of p-values, one for each row of pvalues, that is the result of Fisher's combined probability test applied to the p-values in that row.

Examples

data(exampleData) moanin <- create_moanin_model(data=testData,meta=testMeta) contrasts <- create_timepoints_contrasts(moanin,"C", "K") deTimepoints=DE_timepoints(moanin, contrasts=contrasts, use_voom_weights=FALSE) fisherPval=pvalues_fisher_method( deTimepoints[,grep("pval",colnames(deTimepoints))]) head(fisherPval)
#> [1] 1.943304e-11 9.752936e-02 1.380378e-01 1.267241e-11 1.937846e-03 #> [6] 2.135203e-19