Hi there,
A couple questions regarding the GeneLevelThresholding class:
- The assignment of the
global_quantiles attribute in the __init__ method (line 56) currently takes the mean across the local quantiles. These values are different then if you were to flatten the whole matrix and take the quantiles like that (pd.Series(omics_dataframe.values.flatten()).quantile(qvalues)). Is this correct, or should it be taking the quantiles across the flattened values?
- The call to
local_t2_thresholding (line 176) assigns gtup as self.global_threshold_lower. Should this be assigned up self.global_threshold_upper instead? If not, is self.global_threshold_upper not being used?
Thanks!
Hi there,
A couple questions regarding the
GeneLevelThresholdingclass:global_quantilesattribute in the__init__method (line 56) currently takes the mean across the local quantiles. These values are different then if you were to flatten the whole matrix and take the quantiles like that (pd.Series(omics_dataframe.values.flatten()).quantile(qvalues)). Is this correct, or should it be taking the quantiles across the flattened values?local_t2_thresholding(line 176) assignsgtupasself.global_threshold_lower. Should this be assigned upself.global_threshold_upperinstead? If not, isself.global_threshold_uppernot being used?Thanks!