bandhic.save_npz#
- bandhic.save_npz(file_name, mat)[source]#
Save a band_hic_matrix to a .npz file.
- Parameters:
file_name (str) – Path to save the .npz file.
mat (band_hic_matrix) – The band_hic_matrix object to save.
- Return type:
None
Examples
>>> import bandhic as bh >>> mat = bh.band_hic_matrix(np.eye(5), diag_num=3) >>> save_npz('./test/sample.npz', mat)