coverage_stranded#
- Junction.coverage_stranded(intervals, *, bin_size=1)[source]#
Computes a coverage track from intervals overlapping this interval.
This method considers the strand information of both self and intervals.
- Parameters:
- Return type:
- Returns:
Coverage of shape
(self.width // bin_size, 2). Column 0 holds coverage from intervals on the same strand as self, and column 1 from intervals on the opposite strand.