plot_precision {BANDITS} | R 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)

[Package BANDITS version 1.10.0 Index]