bpcells.experimental.PrecalculatedInsertionMatrix.get_counts#
- PrecalculatedInsertionMatrix.get_counts(regions: DataFrame)[source]#
Load pseudobulk insertion counts
- Parameters:
regions (pandas.DataFrame) – Pandas dataframe with columns (
chrom
,start
,end
) representing genomic ranges (0-based, end-exclusive like BED format). All regions must be the same size.chrom
should be a string column;start
/end
should be numeric.- Returns:
Numpy array of dimensions (region, psudobulks, position) and type numpy.int32
- Return type: