Merge Trajectory Motifs
merge_trajectory_motifs.Rd
This function merges multiple motifs (chosen manually) into a new motif in a trajectory model.
Arguments
- traj_model
The trajectory model object.
- motifs
A character vector specifying the names of the motifs to be merged.
- new_motif_name
A character string specifying the name of the new merged motif.
- min_diff
A numeric value specifying the minimum absolute difference in ATAC scores for a motif to be considered in the merging process. Default is 0.1.
- seed
An integer specifying the seed for random number generation. Default is 60427.