plot_marker_sequence: Plot the sequence of marker values

Description Usage Arguments Value

View source: R/plot_marker_sequence.R

Description

Create a ggplot object, plotting the sequence of transitions found in a marker channel, and highlighting unexpected values in red.

Usage

1
2
3
4
5
6
plot_marker_sequence(
  femg_data,
  marker_channel,
  unexpected_channel = "unexpected",
  time_channel = "time_sec"
)

Arguments

femg_data

data frame or tibble

marker_channel

the name of the column in femg_data that corresponds to the marker channel

unexpected_channel

the name of the column in femg_data that is a boolean indicating if the channel was unexpected

time_channel

the name of the column in femg_data that gives the time in seconds

Value

a plotly object


SDAMcIntyre/countenance documentation built on Dec. 18, 2021, 11:58 a.m.