Merge a list or matrix of p-values
merge_p_values(scores, method = "Fisher")
Either a list of p-values or a matrix where each column is a test.
Method to merge p-values. See 'methods' section below.
scores is a vector or list, returns a number. If
scores is a
matrix, returns a named list of p-values merged by row.
Two methods are available to merge a list of p-values:
Fisher's method (default) assumes that p-values are uniformly
distributed and performs a chi-squared test on the statistic sum(-2 log(p)).
This method is most appropriate when the columns in
Brown's method extends Fisher's method by accounting for the
covariance in the columns of
scores. It is more appropriate when the
tests of significance used to create the columns in
scores are not
necessarily independent. Note that the "Brown" method cannot be used with a
single list of p-values. However, in this case Brown's method is identical
to Fisher's method and should be used instead.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.