Description Usage Arguments Value
View source: R/F_calcWeights.R
Obtain weights as posterior probabilities to calculate the consensus null
1 | calcWeights(logDensPerm, fdr)
|
logDensPerm |
A matrix with B rows of logged density estimates of the B permutation distributions, and p columns for the p observed test statistics |
fdr |
A vector of local false discovery rates for the observed tests statistics of length p |
A vector of weights of length B
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.