crested.tl.modisco.generate_html_paths

crested.tl.modisco.generate_html_paths#

crested.tl.modisco.generate_html_paths(all_patterns, classes, contribution_dir)#

Generate html paths for each pattern in the filtered array.

Parameters:
  • pattern_matrix – Filtered 2D array of pattern data.

  • all_patterns (dict) – dictionary containing pattern data.

  • classes (list[str]) – list of class labels.

  • contribution_dir (str) – Directory containing contribution scores and images.

Return type:

list[str]

Returns:

List of image paths corresponding to the patterns.