Description Usage Arguments Value See Also Examples
Estimate the conditional false discovery rate for a set of p-values, conditional on a second set of p-values
1 |
data |
data frame or (numeric) matrix with p-values as columns |
p1 |
p-values for which the cFDR will be estimated; either the name/index of the columns in
|
p2 |
the p-values on which the cFDR will be conditioned on; either name or vector of p-values
|
p2_threshold |
cutoff for pre-filtering on |
mc.cores |
number of cores to use for parallel calculation; defaults to one (i.e. no parallel calculation), but should absolutely be increased if your system supports it, as this will speed up execution very nicely. |
A data frame with column cFDR: if data
was specified, the column
is simply added at the end; if only p1
and p2
were specified, a
data frame with three columns (the original p-values and the cFDR).
mclapply
for details on parallel calculations and mc.cores
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.