Skip to contents

This function plots the partial response for a given trajectory model and motif.

Usage

plot_partial_response(
  traj_model,
  motif,
  ylim = NULL,
  xlab = "Energy",
  ylab = "Partial response",
  pointsize = 3
)

Arguments

traj_model

The trajectory model object.

motif

The motif to plot the partial response for.

ylim

The y-axis limits for the plot (optional).

xlab

The label for the x-axis (optional, default is "Energy").

ylab

The label for the y-axis (optional, default is "Partial response").

pointsize

The size of the points in the scatter plot (optional, default is 3).

Value

A ggplot object representing the partial response plot.