pychromvar.compute_expectation

pychromvar.compute_expectation(count: array) array

Compute expetation accessibility per peak and per cell by assuming identical read probability per peak for each cell with a sequencing depth matched to that cell observed sequencing depth

Parameters:
countnp.array

Count matrix containing raw accessibility data.

Returns:
np.array

Expectation matrix