Skip to contents

This function infers trajectory motifs for each individual trajectory in a multi-trajectory model.

Usage

infer_trajectory_motifs_multi(
  traj_multi,
  peak_intervals,
  atac_scores = NULL,
  bin_start = 1,
  bin_end = purrr::map(atac_scores, ncol),
  additional_features = NULL
)

Arguments

traj_multi

A TrajectoryModelMulti object.

peak_intervals

A data frame, indicating the genomic positions ('chrom', 'start', 'end') of each peak, with an additional column named "const" indicating whether the peak is constitutive. Optionally, a column named "cluster" can be added with indication of the cluster of each peak.

atac_scores

A list of data frames with ATAC-seq scores for each individual trajectory.

bin_start

the start of the trajectory. Default: 1

bin_end

the end of the trajectory. Default: the last bin (only used when atac_scores is provided)

additional_features

A list of data frames with additional features for each individual trajectory.

Value

A TrajectoryModelMulti object with the result of infer_trajectory_motifs for each individual trajectory.