findPlateau: Find the best choice of segmentation parameter.

Description Usage Arguments Value Author(s)

View source: R/findPlateau.R

Description

From the results of a segmentation of a signal for different values of a segmentation parameter rho, this function will search an optimal value of rho corresponding to the biggest plateau (stabilization in the number of breakpoints).

Usage

1
findPlateau(resSeg, Rho, plot = TRUE, verbose = TRUE)

Arguments

resSeg

a list, each element of the list is a vector with the breakpoints for a value of Rho.

Rho

vector with the values of Rho.

plot

if TRUE, some graphics will be plotted.

verbose

if TRUE print some informations.

Value

a list containing:

rho

Optimal parameter found.

maxPlateau

A vector with the first and the last position of the biggest plateau.

plateau

A matrix of 3 columns, each row corresponds to a different plateau. The first colum is the starting value of a plateau, the second, the length of the plateau and the third, the number of values of rho contained in the plateau.

Author(s)

Quentin Grimonprez


MPAgenomics documentation built on March 30, 2021, 5:13 p.m.