betaBinPost: Beta binomial posteriors

View source: R/betaBinPost.R

betaBinPostR Documentation

Beta binomial posteriors

Description

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

p = (\alpha + success)/(\alpha + \beta + 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 April 18, 2023, 3:35 a.m.