pl.modisco

pl.modisco#

Visualize results of the modisco pipeline.

Functions

class_instances(pattern_dict, idx[, ...])

Plot instances of a specific pattern, either the representative pattern per class or all instances for a given pattern index.

clustermap(pattern_matrix, classes[, ...])

Create a clustermap from the given pattern matrix and class labels with customizable options.

clustermap_tf_motif(data[, heatmap_dim, ...])

Generate a heatmap where one modality is represented as color, and the other as dot size.

clustermap_tomtom_similarities(sim_matrix, ...)

Create a Seaborn clustermap of TOMTOM similarity scores with optional PWM logo display and filtering.

clustermap_with_pwm_logos(pattern_matrix, ...)

Create a clustermap with additional PWM logo plots below the heatmap.

modisco_results(classes, contribution, ...)

Plot genomic contributions for the given classes.

selected_instances(pattern_dict, idcs[, ax])

Plot the patterns specified by the indices in idcs from the pattern_dict.

similarity_heatmap(similarity_matrix, indices)

Plot a similarity heatmap of all pattern indices.

tf_expression_per_cell_type(df, tf_list[, ...])

Plot the expression levels of specified transcription factors (TFs) per cell type.