bsxplorer.EnrichmentResult.ref_positions

EnrichmentResult.ref_positions()[source]

This method calculates relative normalized positions of region start and end to gene region respectively. Coordinates (-1, 0) refer to the upstream region, [0, 1] refer to the gene body, (1, 2) refer to the downstream region.

Return type:

pl.DataFrame