scanpy icon indicating copy to clipboard operation
scanpy copied to clipboard

sc.get.aggregate summary statistics

Open grst opened this issue 2 months ago • 2 comments

What kind of feature would you like to request?

Additional function parameters / changed functionality / changed defaults?

Please describe your wishes

It would be nice if sc.get.aggregate provided a way to compute summary statistics and put them in .obs of the aggregated AnnData object.

Most important would be for me to store the number of cells per aggregated sample, for being able to filter out samples below a certain threshold.

Not even sure if there are other metrics that are relevant, but in the most general case it would take a callback function.

grst avatar May 16 '24 06:05 grst