AggregationType#

class alphagenome.data.track_data.AggregationType(value)[source]#

Aggregation types for downsampling/upsampling track resolutions.

SUM#

Sum pooling, where values within a bin are summed. This is recommended for continuous tracks where the total value within a bin is meaningful (e.g. read counts, coverage).

MAX#

Max pooling, where the maximum value within a bin is selected. This is recommended for binary tracks (e.g., gene masks, regions of interest).