bpcells.experimental.PrecalculatedInsertionMatrix#

class bpcells.experimental.PrecalculatedInsertionMatrix(path: str)[source]#

Disk-backed precalculated insertion matrix

This reads per-base precalculated insertion matrices. The current implementation is EXPERIMENTAL, and will crash for matrices with more than 2^32-1 non-zero entries.

Parameters:

dir (str) – Path of the matrix directory

Attributes

Methods

PrecalculatedInsertionMatrix.get_counts(regions)

Load pseudobulk insertion counts