netmap.downstream.regulon.make_global_target_similarity_plot¶
- netmap.downstream.regulon.make_global_target_similarity_plot(gene_matrices)[source]¶
Plot a heatmap of the mean pairwise Jaccard similarity across all source genes.
Averages the per-source-gene Jaccard matrices from
get_sourcewise_jaccard_regulons()into a single global similarity matrix, applies hierarchical clustering to both rows and columns, then renders an annotated seaborn heatmap with the colour bar repositioned to the lower-left corner.- Parameters:
gene_matrices (dict) – Mapping of source gene name to a square Jaccard similarity
pd.DataFrameas returned byget_sourcewise_jaccard_regulons(). An empty dict causes an early-exit message to be printed.- Returns:
Displays the plot via
plt.show(). No value is returned.- Return type:
None