crested.tl.modisco.create_pattern_tf_dict#
- crested.tl.modisco.create_pattern_tf_dict(pattern_match_dict, motif_to_tf_df, all_patterns, cols)#
Create a dictionary mapping patterns to their associated transcription factors (TFs) and other metadata.
- Parameters:
- Return type:
- Returns:
A tuple containing the pattern to TF mappings dictionary and an array of all unique TFs.