Closed MeyerBender closed 2 months ago
After trying the custom solutions and ipyannotations, all of them had different issues and did not fully work. TissueTag seems like it is working, however writing a wrapper around it seems nonsensical, since the whole point of it is interactivity. Instead, I will implement a method that can put a binary array into the spatprot object, and then perform all of the previous described steps. The example notebook for the docs should include the following steps:
Addressed in #89
In some samples, certain regions might be unusable, e. g. due to sample degradation or artifacts. It would be very useful if we could just exclude such regions from the analysis, e. g. by dropping all cells which are contained in the problematic region. There are several packages that already implement such a functionality, such as TissueTag or ipyannotations. Alternatively, we could also probably implement that custom fairly easily, see here.
For syntax, I'm thinking something like: