plotToggles: the high level plotting function, vurrently provides plotting...

View source: R/displayVCD.R

plotTogglesR Documentation

the high level plotting function, vurrently provides plotting through ggplot2, dygraphs and plotly. The former being the fastes one, the others providing some degree of interactivity.

Description

the high level plotting function, vurrently provides plotting through ggplot2, dygraphs and plotly. The former being the fastes one, the others providing some degree of interactivity.

Usage

plotToggles(vcd, parse, top = NA, weights = list(`0` = -1, `1` = 1, z = 0, x
  = 1), type = c("ggplot2", "dygraphs", "plotly"), toggle_hold_time = 1,
  ...)

Arguments

vcd

A vcd object containg a hierarchy, VCD file information,...

parse

Parsed toggle events as generated by parseToggles

top

The signal for which the toggle counts shall be plotted

weights

Optional weights when toggles should be weighted, e.g. toggles to 0 should generate a smaller amplitude than toggles to 1-

type

The type of plot, currently one of 'c("ggplot2","dygraphs", "plotly")' with 'ggplot2' being default.

toggle_hold_time

Stretch a toggle event this amount of units into the future for better visibility. This is effectively the width of a toggle count in the plot; should match at most half a clock cycle, 'vcd$timescale“ is a good referece value. Set to 'NA“ to turn this feature off.

...

other parameters that are forwarded to ploty or dygraph or a named vector of timestamps called events; these are printed as labels (currently in dygraphs only)


wamserma/VCD2R documentation built on May 20, 2023, 11:17 p.m.