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

0 value handling #345

Merged
merged 23 commits into from
Nov 18, 2024
Merged

0 value handling #345

merged 23 commits into from
Nov 18, 2024

Conversation

JuliaS92
Copy link
Collaborator

Major changes:

  • added raplacement of ==0 values with nan as optional processing step (replacing step in data completeness filter)
  • added dropping of none finite features as optional processing step (replacing dropping of all 0 step)
  • rewrote the ttest to always operate on log transformed data for fold change and p-value calculation (p-values were calculated in untransformed space if not done durign preprocessing)

Tests were updated accordingly, but subset output changed due to the dropping of values. (Before, rows of nans and 0s were retained). Since this step is also used in batch correction the result changed.

TODO: Figure out which undisplayable p-values make it to the volcano plot function, as the axis of the fold change is wider than it needs to be.

alphastats/DataSet.py Outdated Show resolved Hide resolved
alphastats/gui/utils/preprocessing_helper.py Outdated Show resolved Hide resolved
alphastats/plots/VolcanoPlot.py Show resolved Hide resolved
alphastats/plots/VolcanoPlot.py Show resolved Hide resolved
alphastats/plots/VolcanoPlot.py Show resolved Hide resolved
alphastats/statistics/DifferentialExpressionAnalysis.py Outdated Show resolved Hide resolved
alphastats/statistics/DifferentialExpressionAnalysis.py Outdated Show resolved Hide resolved
tests/gui/test_04_preprocessing.py Show resolved Hide resolved
alphastats/DataSet_Preprocess.py Outdated Show resolved Hide resolved
@mschwoer mschwoer merged commit f8f3ce2 into development Nov 18, 2024
5 checks passed
@mschwoer mschwoer deleted the 0-value-handling branch November 18, 2024 15:18
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

Successfully merging this pull request may close these issues.

3 participants