betaBinPost: Beta binomial posteriors

View source: R/betaBinPost.R

betaBinPostR Documentation

Beta binomial posteriors


In a Bayesian framework, the parameters from Beta distribution, α and β, estimated from count data are used as pseudo-counts to estimate the posterior probabilities:

p = (α + success)/(α + β + trials)



betaBinPost(x, num.cores = 1L, tasks = 0L, verbose = TRUE, ...)



A numerical vector, a matrix or a data.frame object.

num.cores, tasks

Parameters for parallel computation using BiocParallel-package: the number of cores to use, i.e. at most how many child processes will be run simultaneously (see bplapply and the number of tasks per job (only for Linux OS).


if TRUE, prints the function log to stdout and a progress bar


Further arguments for betaDistEstimation function.


Robersy Sanchez <>

See Also

betaDistEstimation and estimateDirichDist

genomaths/usefr documentation built on July 28, 2022, 12:31 p.m.