iCLIP.meta.bin_counts¶
-
iCLIP.meta.bin_counts(counts, length, nbins)¶ Aggregate counts into specified number of bins spatial bins.
Parameters: - counts (pandas.Series) – Series of counts to be binned. Index is position, value is count.
- length (int) – Total length of sequence to be binned. The range 0…`length` is divided into equally sized bins.
- nbins (int) – Number of bins to divide the range 0…`length` into.
Returns: Value of returned Series is the summed counts over all bases that fall into a particular bin.
Return type: pandas.Series