change_resolution#
- TrackData.change_resolution(resolution, aggregation_type=AggregationType.SUM)[source]#
Changes the resolution of the track data.
- Parameters:
resolution (
int) – The desired resolution in base pairs.aggregation_type (
AggregationType(default:<AggregationType.SUM: 'sum'>)) – The aggregation method to use for pooling the values.
- Return type:
- Returns:
A new
TrackDataobject with the new resolution.