segmentation: segmentation function

Description Usage Arguments Value Author(s)

View source: R/segmentation.R

Description

This function launches the segmentation of a signal.

Usage

1
segmentation(signal, Rho = NULL, position = NULL, plot = TRUE, verbose = TRUE)

Arguments

signal

A vector containing the signal.

Rho

A vector containing all the penalization values to test for the segmentation. If no values are provided, default values will be used.

position

A vector containing the position of all elements of the signal (not necessary)

plot

if TRUE, plot the segmentation results

verbose

if TRUE print some informations

Value

a list containing

signal

A vector containing the signal.

segmented

A vector of the same size as signal containing the segmented values.

startPos

The position of each probe.

segment

A data.frame that summarizes the results of the segmentation. Each row is a different segment with the start position, end position, number of points in the signal and the value of the segment.

Author(s)

Quentin Grimonprez


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