Commit e334fb1
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>1 parent 5d85430 commit e334fb1
25 files changed
Lines changed: 31523 additions & 21 deletions
File tree
- docs
- api_examples
- markdown_ref
- example_data
- DidacMauricio_hilic
- MTBLS733
- aradopsis_seedling_lipids
- src/acore
- drift_correction
- filter_metabolomics
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
0 commit comments