Gene-based sample statistics

yes, this did solve the issue. Thanks!
I will just leave the link below to the relevant thread for future readers.