Skip to contents

This convenience wrapper delegates to plot_watermaze() or plot_minefield() and returns the same ggplot object.

Usage

plot_mmviz(input, task, cfg = list(), out_file = NULL)

Arguments

input

CSV file path or standardized data frame.

task

Either "watermaze" or "minefield".

cfg

Configuration list accepted by the task-specific plotter.

out_file

Optional output path. When supplied, it overrides cfg$out_file.

Value

A ggplot object.

Examples

path <- system.file("templates", "watermaze_template.csv", package = "MMV")
plot_mmviz(path, task = "watermaze", cfg = list(style_mode = "builtin"))