bandhic.band_hic_matrix.drop_mask#

band_hic_matrix.drop_mask()[source]#

Clear the current mask by entry-level, but retain the row/column mask.

Return type:

None

Examples

>>> import bandhic as bh
>>> mat = bh.band_hic_matrix(np.eye(4), diag_num=2, mask=(np.array([[0, 1], [1, 2]])))
>>> mat.drop_mask()

Notes

This method is useful when you want to keep the row/column mask but clear the entry-level mask. It will not affect the row/column mask, allowing you to maintain the masking of entire rows and columns.