test.posterior {CNVtools} | R Documentation |
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.
test.posterior(frame, ncomp, samples.by.disease = NULL)
frame |
Posterior data frame. |
ncomp |
Number of components. |
samples.by.disease |
List containing samples split on disease status. |
Returns TRUE is the posterior is not monotonic.
Vincent Plagnol vincent.plagnol@cimr.cam.ac.uk and Chris Barnes christopher.barnes@imperial.ac.uk