plot.aCGHsegmented: Plot method for the class 'aCGHsegmented'

Description Usage Arguments Details Value Author(s) See Also

View source: R/plot.aCGHsegmented.R

Description

Plots fitted piecewise constant lines.

Usage

1
2
3
## S3 method for class 'aCGHsegmented'
plot(x, add = FALSE, y = TRUE, psi.lines = TRUE, typeL="l", 
    what=c("lines","criterion"), ...)

Arguments

x

object of class "aCGHsegmented" returned by jumpoints.

add

logical; if TRUE the fitted piecewise constant lines are added to an existing plot.

y

logical; if TRUE the observations are also plotted, otherwise only the fitted lines.

psi.lines

logical; if TRUE vertical lines corresponding to the estimated changepoints are added.

typeL

argument type for the fitted lines. Possible options are typeL="s" to plot the horizontal and vertical lines of the step-function, and typeL="l" to draw the horizontal lines only.

what

If 'lines' the fitted lines are plotted, otherwise the criterion values versus the number of change points, provided the fitted object x has been called with argument output='2' or output='3'.

...

possible additional graphical arguments, such as col, xlab, and so on.

Details

This fuction takes a fitted object returned by jumpoints and plots the resulting fit, namely the estimated step-function and changepoints.

Value

The function simply plots the fit returned by 'jumpoints'.

Author(s)

Vito Muggeo

See Also

jumpoints


cumSeg documentation built on July 17, 2020, 5:07 p.m.