Skip to contents

Plot trajectory model clusters report

Usage

plot_traj_model_clusters_report(traj_model, dir, k = 10, spatial_freqs = NULL)

Arguments

traj_model

A trajectory model object

dir

A directory to save the report files

k

Number of clusters to split the heatmap into

spatial_freqs

A vector of spatial frequencies to plot. Use compute_traj_model_spatial_freq to compute.

Value

None. A file called heatmap.png with the heatmap and a file called motifs_report.pdf with the motifs report will be saved to the directory.