Skip to contents

An S4 class to represent a trajectory model.

Usage

# S4 method for class 'TrajectoryModel'
show(object)

Arguments

object

An instance of TrajectoryModel.

Slots

diff_score

numeric A numerical value representing the difference score.

predicted_diff_score

numeric A numerical value representing the predicted difference score.

model

ANY The model object or any data type that represents the trajectory model.

coefs

data.frame A data frame containing the coefficients of the model (not including the intercept). Contains the coefficients for the 'early', 'linear' and 'late' models

model_features

A matrix containing the features used for training the model.

normalized_energies

matrix A matrix containing normalized energies. If additional variables were used, they are also included.

type

A vector the length of the number of peaks, indicating whether each peak is a training ('train') or a prediction peak ('test').

motif_models

list A list of models representing different motifs.

initial_prego_models

list A list of initial pre-go models.

peak_intervals

data.frame A data frame containing the peak intervals.

params

list A list of parameters used for training.

additional_features

data.frame A data frame containing the additional features.

features_r2

numeric A numeric vector of R^2 values for each feature.

normalization_intervals

data.frame A data frame containing the intervals used for energy normalization.

interactions

matrix A matrix of the interaction features.