bandhic.band_hic_matrix.__len__#

band_hic_matrix.__len__()[source]#

Return the number of rows in the band_hic_matrix object.

Returns:

Number of rows.

Return type:

int

Examples

>>> import bandhic as bh
>>> mat = bh.ones((3,3), diag_num=2)
>>> len(mat)
3