Description Usage Arguments Value See Also Examples
Estimate the conjunctional conditional false discovery rate for two set of p-values, conditional on each other, as measure for pleiotropy.
1 |
data |
data frame or (numeric) matrix with p-values as columns |
p1 |
p-values for which the ccFDR will be estimated; either the name/index of the columns in
|
p2 |
the p-values on which the ccFDR will be conditioned on; either name or vector of p-values
|
p_threshold |
cutoff for pre-filtering the p-values; a vector of either length one (in which
case both sets of pvalues have the same threshold) or length two (where the thresholds refer
to |
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 columns cFDR1, cFDR2, and ccFDR: if data
was specified,
the columns are simply added at the end; if only p1
and p2
were specified, a
data frame with five columns (the original p-values, plus the cFDRs and the ccFDR).
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.