test.posterior: Checks posterior probabilities are monotonic.

Description Usage Arguments Value Author(s)

View source: R/test.posterior.R

Description

The posterior probability of belonging to a particular component should fall to zero monotonically as the signal increases or decreases away from the component mean. This function checks for posterior distributions that do not have this property.

Usage

1
test.posterior(frame, ncomp, samples.by.disease = NULL)

Arguments

frame

Posterior data frame.

ncomp

Number of components.

samples.by.disease

List containing samples split on disease status.

Value

Returns TRUE is the posterior is not monotonic.

Author(s)

Vincent Plagnol [email protected] and Chris Barnes [email protected]


CNVtools documentation built on Nov. 1, 2018, 2:24 a.m.