Description Usage Arguments Value Examples
Given a vector of individual test statistics and their pairwise correlations, calculate the MinimumP (see Conneely and Boehnke, 2007) second-level test statistic and it's p-value.
1 |
test_stats |
Vector of test statistics for each factor in the set (i.e. marginal test statistic for each SNP in a gene) |
cor_mat |
d*d matrix of the correlations between all the test statistics in the set, where d is the total number of test statistics in the set. You only need to specify EITHER cor_mat OR pairwise_cors. |
pairwise_cors |
A vector of all d(d-1)/2 pairwise correlations between the test statistics. You only need to specify EITHER cor_mat OR pairwise_cors. |
A list with the elements:
minP |
The observed MinimumP test statistic. |
minP_pvalue |
The p-value of this observed value, given the size of the set and correlation structure. |
1 2 3 4 5 6 |
$minP
[1] 0.05918928
$minP_pvalue
[1] 0.2525972
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.