Description Usage Arguments Details Value Author(s) Examples
This function calculates the combined p-values when multiple statistical algorithms are applied to the input dataset. It is a helper and it requires very specific arguments so it should not be used individually
1 2 3 4 5 6 7 8 | metaTest(cpList,
metaP = c("simes", "bonferroni", "fisher", "harmonic",
"dperm_min", "dperm_max", "dperm_weight", "fperm",
"whitlock", "minp", "maxp", "weight", "pandora",
"none"), counts, sampleList, statistics, statArgs,
libsizeList, nperm = 10000,
weight = rep(1/length(statistics), length(statistics)),
pOffset = NULL, rc = NULL)
|
cpList |
a named list whose names are the contrasts
requested from metaseqr2. Each member is a p-value matrix
whose colnames are the names of the statistical tests
applied to the data. See the main |
metaP |
the p-value combination method to use. See
the main |
counts |
the normalized and possibly filtered read
counts matrix. See the main |
sampleList |
the list containing condition names
and the samples under each condition. See the main
|
statistics |
the statistical algorithms used in
metaseqr2. See the main |
statArgs |
the parameters for each statistical
argument. See the main |
libsizeList |
a list with library sizes. See the
main |
nperm |
the number of permutations (Monte Carlo simulations) to perform. |
weight |
a numeric vector of weights for each statistical algorithm. |
pOffset |
|
rc |
the fraction of the available cores to use in a multicore system. |
Ideally one would want to create the same set of indices
for a given dataset so as to create reproducible p-values.
To achieve this, use the set.seed
function prior
to any calculations.
A named list with combined p-values. The names are the contrasts and the list members are combined p-value vectors, one for each contrast.
Panagiotis Moulos
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.