Skip to contents

This function matches the motif names in a trajectory model with a given dataset. This is used in order to give more 'friendly' names to the motif models. The default dataset is "HOMER". Note that the run might be slow.

Usage

match_traj_model_motif_names(
  traj_model,
  dataset = prego::all_motif_datasets() %>% filter(dataset == "HOMER")
)

Arguments

traj_model

The trajectory model object.

dataset

The dataset to match the motif names with. Default is the "HOMER" dataset.

Value

A named character vector mapping the motif names in the trajectory model to the matched motif names in the dataset.