Open timtreis opened 3 weeks ago
Hi Tim, I agree this would be a really useful feature. More specifically, we could add the following parameters:
max_nr_cells
: int = None.
None
, it calculates the window_size
such that the number of cells in a sliding window is <= max_nr_cells
(e.i. 1k).Considering that given multiple library_key
's the FOVs have different sizes or densities we could introduce a separate parameter that differentiates between whether the window sizes should be equal across all library_key
's or not. For example:
window_size_per_library_key
: 'equal', 'unique'
Hi @timtreis and @FrancescaDr , I'll work on this.
Could add a heuristic that tries to optimise the number of cells per window (and unassigned cells) so that on average, most windows have a number of cells assigned that is as close as possible to what the user specified.