Learn R Programming

Segmentor3IsBack (version 2.0)

getLikelihood: Generic function

Description

Generic function

Usage

getLikelihood(object)

Arguments

object
An object of class Segmentor

Value

The opposite of the log-likelihood of the optimal segmentation for each value of k

Details

Returns the slot likelihood of an object of class Segmentor

References

PDPA: Rigaill, G. Pruned dynamic programming for optimal multiple change-point detection: Submitted http://arxiv.org/abs/1004.0887

PDPA: Cleynen, A. and Koskas, M. and Lebarbier, E. and Rigaill, G. and Robin, S. Segmentor3IsBack (2014): an R package for the fast and exact segmentation of Seq-data Algorithms for Molecular Biology

See Also

getBreaks

Examples

Run this code
x=new("Segmentor") # new Segmentor object
getLikelihood(x) # retrieves the likelihood slot from x

Run the code above in your browser using DataLab