summarisePosteriors: Summarises expected number of genomic events given the...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/summarisePosteriors.R

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

1
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

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

baySeq documentation built on Nov. 8, 2020, 5:43 p.m.