Commit 01bbfc4
Kegg ks (#77)
* 🚧 start implementing KEGG retrival
* 🚧 kegg related functionality
* Drift correction (#58)
* Adding metabolomics filtering feature
* Metabolomics example data set
* Adding test for metabolomics filtering function
* Filter functions added.
* Updating and cleaning up filtering docstrings
* Filtering example api jupyter notebook added.
* Changed filtering function name.
* ✨ Feat: Add script and docs for QC-based LOESS drift correction module
* ✏️ Fix: prevent division by zero, edit documentation
* Adding metabolomics example data for drift correction function testing
* Editing example aradopsis metabolomics data (removing faulty row).
* 📝 Adding api example notebook for drift correction
* Adding jupytext file for drift correction api example.
* ✨ Start collecting dataframe schemas for input and output DataFrames (#29)
* 🚧 start collecting dataframe schemas with enrichment analysis result
* ✨ ensure valid numeric omics data functionality
* 🚧 add schema validation to examples
- can be added to function call using `pa.check_types`
* 🐛 add missing dependency
* 🐛 bool and boolean with NANs are not the same for pandera.
* 🐛 fix tests (convert dtypes expect bool)
* 🚧 Add and align differential analysis schema
- ANOVA descriptive statistis seems to have errors
- should missing values for p-values be allowed?
* 🐛 leave strings as they are
* 🚧 build schema on the fly for numeric data
- could be used to give specific feedback on user provided columns
* 🎨 add pandera to mapped types of other libraries
* 🚧 add Schemas to functions
- anova has two return types depending on number of groups...
* 🚧 add two schemas to anova function
Schemas should be unified eventually
* 📝 all commands for local execution of docs
... as integration test
* 🐛 remove testing shell script
to find errors in action runs (for automation)
* ✨ construct types for exploratory analysis
- create a separate PR to refactor exploratory analysis module
* 🎨 add Sebastians hint on BaseModel visualization
* 🎨 clean-up types
- formatting was not done properly in docs
- not used as a composite type as of now
* ✨ custom PR template for new module (#39)
* ✨ custom PR template for new module
* 🎨 highlight only folder name
* 📝 propose to use built-in virtual environment
* 📝 some more design hints
* 📝 any docstring type for functions is fine
* 🎨 remove intermediate heading
* 📝 add hint on using example data for api examples
* Update .github/workflows/PULL_REQUEST_TEMPLATE/module.md
---------
Co-authored-by: feliciaschulz <112621625+feliciaschulz@users.noreply.github.com>
* 🔧 Update CI (#45)
* 🔧 remove constraint on numpy as latest inmoose does nto require it anymore
* 🔧 align github actions to python package template
... as for other librarier
* 🎨 format toml with even better toml
* 🔧 isort and ruff configuration
- turn ruff configuration on in a separate PR
* 🎨 format src folder
* 🎨 apply ruff check autofixes
* 🔥 remove tox artefacts
* 🚚 rename actions yaml file
* 🎨 isort tests
* 🚚 separate batch correction from normalization (#46)
* 🚚 separate batch correction from normalization
- fix Move batch correction outside Normalisation 💄
Fixes #22
* 🐛 sync normalization nb and update test imports
* 🎨 format and remove unused import
* 🐛 sync nb
* 🐛 add batch correction to website index
* 🎨 link module api
* Documentation updates (#47)
* 🎨 move from rst to md
* 🚧 Close clean up conf.py
Fixes #21
- remove duplication
- sort code as in other packages
- double check if additional entries wer needed
* 🎨 consistent scaling and naming (#48)
* 🎨 consistent scaling and naming
- apply standardization before PCA (leads to minor change in axis)
- talk about batch correction, not normalization
* 🎨 shorten titles
* 🎨 order more meaningfully
* 📝 add Contributing.md as reference to PR template (#49)
* 📝 add Contributing.md as reference to PR template
* 🐛 make it an url
* Metabolomics example data (#50)
* 🚧 process metabolomics example data
* 🎨 format
* ✨ tested data with ANOVA, finish processing of data
* Adding function for visualising example of the LOESS drift correction.
* Adding functions for alternative drift correction method: CPCA
* Adding CPCA drift correction to api examples and refining code.
* Adding example data for metabolomics
* Creating jupytext file for drift correction api example
* 🎨 format tutorials and code (black and isort)
* 🎨 apply ruff suggestions
* docs: update markdown reference
* 🎨 Updating index.md to add drift correction api example.
* 🎨 put drift correction plotting functions from src to api examples
* 🎨 implement logger in drift correction functions to replace print statements
* remove excel lock file
* adding synced jupytext drift_correction.py
* Changing import order for ruff checks
* docs: update markdown reference
* 🎨 removing unused imports
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* 🎨 Typo in documentation
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* 🎨 Typo in documentation
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* 🎨 Typo in documentation
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* 🎨 fixing error in documentation
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs: update markdown reference
* 🎨 ensuring x_qc is sorted so CubicSpline works correctly
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* 🎨 fixing linting errors from ruff
* 🎨 filtering issue: opposite functionality to what the documentation explained. fixed.
* docs: update markdown reference
* 🎨 implementing changes suggested by copilot: NaN value handling, removing temp name column before returning df, raising ValueError with wrong QC threshold
* 🎨 isort on multiple files to improve order of inputs.
* 🎨 format notebooks a bit more and add filtering to index
- hide long source cells
- few typos found by copilot
- split long lines using rewrap tool
* 🎨 clear outputs and hide installation panel output
* 🎨 remove unnamed column on integer indices in display
* 🎨 Changing example data for loess-based drift correction api example. Minor other changes in documentation of notebook.
* 🎨 fixing black errors
* 🎨 improvements in visibility
* 🐛 set defaults for parameters
- anyway not optional, so just set defaults
* docs: update markdown reference
* 🎨 saveguard string and switch to logging
* 🎨 format
* 🐛 remove outdated parameter from call
---------
Co-authored-by: Henry Webel <heweb@dtu.dk>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Filter metabolomics revised (#72)
* 🔥 Removing old metabolomics filtering scripts
* 🎨 Adding new filtering functions for metabolomics analyses.
* 🔥 Removing old filtering api example synced .py file.
* 🚧 Starting new api example notebook for filtering function in metabolomics.
Work in progress.
* 🗃️ Adding new data set for metabolomics data. Raw version of previously existing data set, unfiltered and unimputed.
* 🎨 Finishing first version of revised api example notebook for the metabolomics filtering functions.
* 🎨 Fixing ruff, black, isort checks on filtering api examples.
* docs: update markdown reference
* 🎨 Addressing codex comments: type annotations & raising error if only one QC sample is provided in filter_cv().
* docs: update markdown reference
* 🎨 Fixing ruff issues (import order).
* docs: update markdown reference
* 🔧 increase per cell timeout limit to 4mins
* 🎨 style notebook
- formatting long lines
- combining some cells
* 🔧 remove out-of-life Python Version 3.9
* 🔧 add Python 3.14, remove 3.9
* 🎨 format
* 🚧 add some basic tests
* 🔥 remove old code
* 📝 just add hint on relation to scipy.stats.variation
* ✅ add equality tests to tests of new filtering methods
* 🎨 add mechanics for modified filtering in using groups
* 🎨 format
* 🐛 add copilot suggestions
* docs: update markdown reference
* 🎨 Adding option of using string to represent column name to parameter 'groups' in missingness filtering function.
* docs: update markdown reference
* ✅ test filter by missingness with column for groups
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Henry Webel <heweb@dtu.dk>
* Imputation metabolomics (#73)
* 🔥 Removing old filtering api example synced .py file.
* 🚧 Starting new api example notebook for filtering function in metabolomics.
Work in progress.
* 🎨 Finishing first version of revised api example notebook for the metabolomics filtering functions.
* 🎨 Fixing ruff, black, isort checks on filtering api examples.
* ✨ Adding new metabolomics-specific imputation functions to existing imputation module.
* 🎨 Adding functionality for choosing sub-groups in rows for imputation (so that controls can be excluded, for example)
* ✏️ Fixing typos in documentation in metabolomics MS api example.
* 🎨 Finished version of the imputation api example notebook specialised for metabolomics data analysis.
* 🎨 Creating synced jupytext file for metabolomics imputation api example.
* 🗃️ Adding filtered metabolomics data set.
* 🔧 Add imputation metabolomics api example to index.md
* 🎨 Fixing ruff, isort, black checks.
* docs: update markdown reference
* ⏪ to main branch version
* 🔧 sync notebooks
* 🎨 raise error if non-numeric columns are selected
better to be explicit about it. just warn in case data is not specified
* 🎨 formatting and ensuring numeric column type
- first drop metadata, than transpose to ensure numeric data
* 🎨 address copilot comments
* docs: update markdown reference
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Henry Webel <heweb@dtu.dk>
* 🚧 add pubchem lookup for KEGG
* 🚚 move file to more meaningful name
* ✨ add dump for fast lookup of pubchem ids to kegg ids
* 🚧 pubchem.py
* ✨ add parsing of kegg api returns
* docs: update markdown reference
* 🔥 remove pubchem custom calls
- replace using pubchempy package
* docs: update markdown reference
* Apply suggestions from code review
- minor hints
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs: update markdown reference
* try to use native function
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: feliciaschulz <112621625+feliciaschulz@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1 parent 20a55d4 commit 01bbfc4
10 files changed
Lines changed: 19850 additions & 9 deletions
File tree
- docs
- api_examples
- markdown_ref
- src/acore/io
- tests/io
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
132 | | - | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
58 | 66 | | |
59 | | - | |
| 67 | + | |
60 | 68 | | |
61 | | - | |
| 69 | + | |
62 | 70 | | |
63 | | - | |
| 71 | + | |
64 | 72 | | |
65 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
66 | 123 | | |
67 | 124 | | |
68 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | | - | |
116 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
File renamed without changes.
0 commit comments