bandhic.band_hic_matrix.log1p#
- band_hic_matrix.log1p(self, *args, **kwargs)#
Perform element-wise ‘log1p’ operation.
- Parameters:
self (band_hic_matrix) – Input matrix.
*args (tuple) – Additional positional arguments for numpy.log1p.
**kwargs (dict) – Keyword arguments for numpy.log1p.
- Returns:
Result of element-wise ‘log1p’ operation.
- Return type:
See also
Examples
>>> from bandhic import band_hic_matrix >>> mat = band_hic_matrix(np.eye(3), diag_num=2, dtype=int) >>> result = mat.log1p()