Skip to contents

Visualizes temporal activation curves per cluster by showing representative activation patterns from subjects in each cluster.

Usage

plot_activation_patterns(sim, n_subjects_per_cluster = 3, theme_base_size = 14)

Arguments

sim

A list returned by simulate_dynamic_synergy_data(). Must contain C_list and z_true components.

n_subjects_per_cluster

Number of subjects to display per cluster. Default is 3.

theme_base_size

Base font size for the plot theme. Default is 14.

Value

A ggplot object showing temporal activation curves per cluster.

Examples

if (FALSE) { # \dontrun{
sim <- simulate_dynamic_synergy_data(N=30, K=3, r=3, M=8, T_each=200)
plot_activation_patterns(sim)
} # }