Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

view

Path fast view


Description

view provides a fast plot of a segmented trajectory or specific chunks of it.

Usage

view(obj, ...)

## S4 method for signature 'binClstPath'
view(obj, lbl = NULL, lims = NULL, bg = NULL,
  ...)

## S4 method for signature 'data.frame'
view(obj, lbl = NULL, lims = NULL, bg = NULL,
  ...)

Arguments

obj

A binClstPath_instance or a data.frame with the format described for slot binClstPath@pth.

...

Parameters lbl and lims are optional.

lbl

A numeric vector with location labels. If obj is a binClstPath_instance the clustering labels are used by default.

lims

A numeric vector with lower and upper limit locations to show only a chunk of the trajectory.

bg

A valid colour to be used as background colour. By default a light-grey colour is used to enhance data points visibility.

Examples

# -- Fast view of the binClstPath instance included in the package --
view(expth)
# -- the same with reference labels --
view(expth,lbl=TRUE)

EMbC

Expectation-Maximization Binary Clustering

v2.0.3
GPL-3 | file LICENSE
Authors
Joan Garriga, John R.B. Palmer, Aitana Oltra, Frederic Bartumeus
Initial release
2019-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.