summarisePosteriors {baySeq} | R Documentation

## Summarises expected number of genomic events given the calculated posterior likelihoods of a countData object.

### Description

Given posterior likelihoods for each model, we can calculate the expected number of genomic events corresponding to each model (and to each ordering within each model) by summing the posterior likelihoods.

### Usage

    summarisePosteriors(cD, orderings = TRUE)

### Arguments

`cD` | A `countData` object.
`orderings` | Indicates whether models should be split by orderings of the data under the model (defaults to TRUE).

### Value

Numeric vector of expected number of genomic events belonging to each model (optionally, split by orderings).

### Author(s)

Thomas J. Hardcastle

### See Also

`topCounts`, `selectTop`

### Examples

    # We load in a `countData' object containing the estimated posterior
    # likelihoods of expression (see `getLikelihoods').

    data(CDPost)

    # summarise the expected number of genomic events in each category
    summarisePosteriors(CDPost)

[Package baySeq version 2.18.0 Index]