hatvis.plotting.plot_incidence#
- hatvis.plotting.plot_incidence(H, order='barycentric', *, ax=None, weighted=True, transpose=False, biclusters=None, labels=True, cmap=None, colorbar=False, grid=True, node_groups=None, label_size=7, title=None)[source]#
Incidence matrix as a heat map, optionally seriated and with highlighted biclusters.
order:"barycentric"(HAT-VIS iteration),"correspondence","hierarchical",Noneor an explicit(row_labels, col_labels)tuple.transpose=Trueputs the hyperedges in rows (as in the manufacturing-space figure of Nagy et al. 2022).biclustersis the output ofhatvis.seriation.bicluster_blocks(); each block is outlined by the rectangle spanning its rows and columns in the current order.node_groupscolors the vertex tick labels by anode_datacolumn.
Examples using hatvis.plotting.plot_incidence#
A first hypergraph: incidence matrix, dual and degrees
A first hypergraph: incidence matrix, dual and degrees