iced.filter.filter_high_counts

iced.filter.filter_high_counts(X, lengths=None, percentage=0.02, copy=True)

Filter rows and columns with high counts

Parameters:

X : ndarray (n, n)

Count matrix (hollow, symetric)

lengths : ndarray (m, ), optional, default: None

Lengths of the chromosomes

percentage : float, optional, default: 0.02

percentage of rows and columns to discard

copy : boolean, optional, default: True

If set to true, copies the count matrix

Notes

New in 0.6