plot_precision: Plot the log-precision estimates

View source: R/prior_precision.R

plot_precisionR Documentation

Plot the log-precision estimates

Description

plot_precision plots a histogram of the estimates for the log-precision parameter of the Dirichlet-Multinomial distribution, obtained via prior_precision. The solid line represents the normal prior for the log-precision parameter.

Usage

plot_precision(prior)

Arguments

prior

the prior of the log-precision parameter, computed via prior_precision.

Value

A plot.

Author(s)

Simone Tiberi simone.tiberi@uzh.ch

See Also

test_DTU, prior_precision

Examples

# load the pre-computed precision estimates:
data(precision, package = "BANDITS")

# Plot the histogram of the genewise log-precision estimates.
# The black solid line represents the normally distributed prior distribution 
# for the log-precision parameter.
plot_precision(precision)


SimoneTiberi/BANDITS documentation built on Nov. 15, 2023, 2:35 p.m.