bandhic.load_npz#

bandhic.load_npz(file_name)[source]#

Load a band_hic_matrix from a .npz file.

Parameters:

file_name (str) – Path to the .npz file.

Returns:

A band_hic_matrix object loaded from the file.

Return type:

band_hic_matrix

Examples

>>> import bandhic as bh
>>> mat = bh.load_npz('./test/sample.npz')
>>> isinstance(mat, band_hic_matrix)
True