Heatmap.is_contiguous#
missionbio.plotting.heatmap.Heatmap.is_contiguous
- static Heatmap.is_contiguous(labels: ndarray) bool #
- Parameters:
- labelsnp.ndarray
The labels to check the order
- Returns:
- bool:
Whether the labels are contiguous. [“1”, “2”, “2”] is contiguous but [“1”, “2”, “1”] is not.
< Class Heatmap