iced.utils.
get_intra_mask
Returns a mask for intrachromosomal interactions
lengths : ndarray, (n, )
lengths of the chromosomes
counts : ndarray or sparse matrix (n, n), optional, default: None
if provided, and if sparse, will only return genomic distances for non-zero elements of the sparse matrix.
mask : ndarray (m, m)
boolean mask