Skip to contents

This function removes specified motif models from a given trajectory model. It updates the model, motif models, predicted difference score, model features, coefficients, normalized energies, and features R^2 of the trajectory model.

Usage

remove_motif_models_from_traj(traj_model, motif_models, verbose = TRUE)

Arguments

traj_model

The trajectory model object to remove motif models from.

motif_models

A character vector specifying the names of the motif models to remove.

verbose

A logical value indicating whether to display information about the R^2 after removing the motif models. Default is TRUE.

Value

The updated trajectory model object after removing the motif models.