view: Path fast view

viewR Documentation

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 documentation built on Oct. 3, 2023, 5:07 p.m.