Skip to contents

Computes the predicted differential accessibility score between the start and end of the trajectory.

Usage

# S4 method for class 'TrajectoryModel'
predict(
  object,
  peak_intervals = NULL,
  peaks = NULL,
  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.

peaks

An alias for peak_intervals.

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.

Value

A numeric vector of predicted differential accessibility scores.