getCost: Generic function

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Generic function

Usage

1
getCost(object)

Arguments

object

An object of class Segmentor

Details

Returns the slot Cost of an object of class Segmentor

Value

The matrix of Cost of the segmentation in i segments up to point j

Author(s)

Alice Cleynen

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

getLikelihood; getBreaks

Examples

1
2
x=new("Segmentor") # new Segmentor object
getCost(x) # retrieves the Cost slot from x

Segmentor3IsBack documentation built on May 2, 2019, 5:42 p.m.