Description Usage Arguments Details Value See Also
Use posterior probability of response to generate a call threshold that controls the false discovery rate of pepBayes positivity calls.
1 2 3 4 5 6 7 | pepBayesCalls(x, fdr, ...)
## S4 method for signature 'pepBayesFit,numeric'
pepBayesCalls(x, fdr = 0.05)
## S4 method for signature 'matrix,numeric'
pepBayesCalls(x, fdr = 0.05)
|
x |
A matrix or pepBayesFit object. |
fdr |
Desired false discovery rate. |
Probabilities are sorted in descending order. The largest integer K
is selected such that the mean of the first K sorted probability values exceeds
the value (1 - fdr
). The probability threshold is chosen to be the K-th
sorted probability value. Entries with probability greater than or equal to the
threshold value are considered positive calls, else an entry is a negative call.
A matrix of booleans with TRUE denoting a positive call, and FALSE a negative call.
pepBayesEcm
pepBayesMcmc
pepBayesFit-methods
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.