View source: R/pvEBayes_object_S3_methods.R
| get_posterior_prob | R Documentation |
Obtain posterior probability of being a signal
get_posterior_prob(obj, cutoff_signal = 1.001)
obj |
a |
cutoff_signal |
numeric. Threshold for signal detection. An AE-drug combination is classified as a detected signal if its 5th posterior percentile exceeds this threshold. |
a matrix
fit <- pvEBayes(
contin_table = statin2025_44, model = "general-gamma",
alpha = 0.3, n_posterior_draws = 1000
)
posterior_probs <- get_posterior_prob(fit,
cutoff_signal = 1.001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.