plot_precision: Plot the log-precision estimates

Description Usage Arguments Value Author(s) See Also Examples

View source: R/prior_precision.R

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

1

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

1
2
3
4
5
6
7
# 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)

BANDITS documentation built on Nov. 8, 2020, 5:30 p.m.