View source: R/utils-render_report.R
make_prog_summary_plot | R Documentation |
Internal function to create a comprehensive visualization showing the progressive effects of preprocessing steps on pupil data. This plot displays multiple preprocessing stages overlaid on the same time series, allowing users to see how each step modifies the pupil signal.
make_prog_summary_plot(
pupil_data,
pupil_steps,
preview_n = 3,
plot_params = list(),
run_id = "run-01",
cex = 2
)
pupil_data |
A data frame containing pupil timeseries data with
multiple preprocessing columns (e.g., |
pupil_steps |
Character vector of column names containing pupil data
at different preprocessing stages
(e.g., |
preview_n |
Number of columns for subplot layout. Defaults to |
plot_params |
Named list of additional parameters to forward to plotting
functions. Defaults to |
run_id |
Character string identifying the run/block (e.g., "run-01").
Used for plot titles and file naming. Defaults to |
cex |
Character expansion factor for plot elements. Defaults to |
This function creates a two-panel visualization:
Top panel: Overlaid time series showing progressive preprocessing effects with different colors for each step
Bottom panel: Legend identifying each preprocessing step
The plot excludes z-scored data (columns ending with "_z") and only includes steps with sufficient valid data points (>100). Each preprocessing step is displayed with a distinct color, making it easy to see how the signal changes through the pipeline.
NULL (invisibly). Creates a plot showing progressive preprocessing effects with multiple layers overlaid on the same time series
plot.eyeris
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.