Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gene level thresholding code questions #41

Open
hmbaghdassarian opened this issue Nov 1, 2024 · 0 comments
Open

gene level thresholding code questions #41

hmbaghdassarian opened this issue Nov 1, 2024 · 0 comments

Comments

@hmbaghdassarian
Copy link

Hi there,

A couple questions regarding the GeneLevelThresholding class:

  1. 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?
  2. 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant