...
This stuff below specifically makes an ordered heatmap of Mystic Lake depths:
In \ [1\]: file = 'eOTU_parallel/ML_Q_unique_final.mat.lin'unmigrated-wiki-markup Wiki Markup
In \ [2\]: counts, lins = SM.fromTxt(file, lin=True)unmigrated-wiki-markup
In \ [3\]: counts = counts.remove_rows(\['MSB','MEB','M3.2','M8.2','M22'\])unmigrated-wiki-markup
In \ [4\]: fracs = counts.normalize()
In \ [5\]: D = fracs.dist_mat(axis='rows', metric='JSsqrt')unmigrated-wiki-markup Wiki Markup
In \ [6\]: order = \ ['M21', 'M20', 'M19', 'M17', 'M16', 'M15', 'M14', 'M13', 'M12', 'M11', 'M10', 'M9', 'M8', 'M7', 'M6', 'M5', 'M4', 'M3.1', 'M1.5', 'M0'\]unmigrated-wiki-markup
In \ [7\]: Dorder = D.reindex(index=order, columns=order)
In \ [8\]: Dorder.plot_dist_heatmap(sort_rows=False, sort_cols=False, plot_row_labels=True, row_label_width = 0.06) Wiki Markup
If you encounter problems, post them to his issues page:
...