Open Hogfeldt opened 4 years ago
Functionality is implemented in 2e2a062cd415563ea25e6b10700d928aa82f4c09, but it would be nice with some more tests.
Default stride should probably be set to the given bin size.
Bins overlapping chromosomes should be discarded.
We should have a manipulation that can bin the first axis of a matrix or tensor, with a sliding window. The user should be able to set the bin size and the stride.
If the bin size and stride is chosen in a way such that the last bin exceeds the array, its probably best to just create a small bin an throw a warning.