Predict TrajectoryModel on new data
predict-TrajectoryModel-method.Rd
Computes the predicted differential accessibility score between the start and end of the trajectory.
Usage
# S4 method for class 'TrajectoryModel'
predict(object, peak_intervals, additional_features = NULL)
Arguments
- object
An instance of
TrajectoryModel
.- peak_intervals
data frame, indicating the genomic positions ('chrom', 'start', 'end') of each peak to predict.
- additional_features
A data frame, representing additional genomic features (e.g. CpG content, distance to TSS, etc.) for each peak. Note that NA values would be replaced with 0.