bandhic.band_hic_matrix.count_in_band_masked#

band_hic_matrix.count_in_band_masked()[source]#

Count the number of masked entries in the in-band region.

Returns:

Number of masked entries in the in-band region.

Return type:

int

Examples

>>> import bandhic as bh
>>> mat = bh.band_hic_matrix(np.eye(4), diag_num=2)
>>> mat.count_in_band_masked()
0