
Add motif models to trajectory model
add_motif_models_to_traj.Rd
This function adds specified motif models to 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.
Arguments
- traj_model
The trajectory model object to add motif models to.
- new_motif_models
A named list of motif models to add. Each element should contain a 'pssm' component and optionally a 'spat' component.
- verbose
A logical value indicating whether to display information about the R^2 after adding the motif models. Default is TRUE.