betaBinPost: Beta binomial posteriors

View source: R/betaBinPost.R

betaBinPostR Documentation

Beta binomial posteriors

Description

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)

.

Usage

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

Arguments

x

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).

verbose

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

...

Further arguments for betaDistEstimation function.

Author(s)

Robersy Sanchez <https://genomaths.com>

See Also

betaDistEstimation and estimateDirichDist


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