Closed dengyihan1464 closed 1 year ago
The possible cause led to the issue is numpy's version.
There is a simple code fix for this, in find_markers.py on lines 246-249
if len(self.tg_names) == 1:
r = ttest_1samp(tf[self.bg_names], tf[self.tg_names].values.flatten(), axis=1, nan_policy='omit')
elif len(self.bg_names) == 1:
r = ttest_1samp(tf[self.tg_names], tf[self.bg_names].values.flatten(), axis=1, nan_policy='omit')
The flatten()
call needs to be removed:
if len(self.tg_names) == 1:
r = ttest_1samp(tf[self.bg_names], tf[self.tg_names].values, axis=1, nan_policy='omit')
elif len(self.bg_names) == 1:
r = ttest_1samp(tf[self.tg_names], tf[self.bg_names].values, axis=1, nan_policy='omit')
Thank you for the tool!
I have met some problems when running:
The error is:
I would be greatly appreciated if you could spend some of your time check the process for me!