netmap.downstream.gene_clustering.plot_scatter_plot¶
- netmap.downstream.gene_clustering.plot_scatter_plot(df)[source]¶
Plot a scatter of cophenetic distance vs Pearson correlation for cutoff inspection.
Renders a single-panel scatter plot of the full (unfiltered) cophenetic/ correlation pairs to help identify the
cophenet_thresholdvalue where the linear relationship breaks down before callingcompute_regression().- Parameters:
df (pd.DataFrame) – DataFrame with columns
'cophenet'and'corr'as returned byget_hierarchical_clustering().- Returns:
Displays the figure via
plt.show().- Return type:
None