metbit 5.2.2__tar.gz → 5.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {metbit-5.2.2 → metbit-5.2.4}/PKG-INFO +2 -2
- {metbit-5.2.2 → metbit-5.2.4}/metbit/lazy_opls_da.py +9 -2
- {metbit-5.2.2 → metbit-5.2.4}/metbit.egg-info/PKG-INFO +2 -2
- {metbit-5.2.2 → metbit-5.2.4}/setup.py +2 -2
- {metbit-5.2.2 → metbit-5.2.4}/LICENSE +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/README.rst +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/__init__.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/base.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/boxplot.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/cross_validation.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/denoise_spec.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/dev.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/genpage.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/metbit.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/opls.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/pca_ellipse.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/peak_processe.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/plotting.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/pls.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/pretreatment.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/scaler.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/spec_norm.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/utility.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit/vip.py +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit.egg-info/SOURCES.txt +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit.egg-info/dependency_links.txt +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit.egg-info/requires.txt +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/metbit.egg-info/top_level.txt +0 -0
- {metbit-5.2.2 → metbit-5.2.4}/setup.cfg +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: metbit
|
|
3
|
-
Version: 5.2.
|
|
3
|
+
Version: 5.2.4
|
|
4
4
|
Summary: Metabolomics data analysis and visualization tools.
|
|
5
5
|
Home-page: https://github.com/aeiwz/metbit.git
|
|
6
|
-
Download-URL: https://github.com/aeiwz/metbit/archive/refs/tags/V5.2.
|
|
6
|
+
Download-URL: https://github.com/aeiwz/metbit/archive/refs/tags/V5.2.4.tar.gz
|
|
7
7
|
Author: aeiwz
|
|
8
8
|
Author-email: theerayut_aeiw_123@hotmail.com
|
|
9
9
|
License: MIT
|
|
@@ -213,8 +213,15 @@ class lazy_opls_da:
|
|
|
213
213
|
palette += getattr(plotly_colour.qualitative, name) # This is a list of colors
|
|
214
214
|
|
|
215
215
|
marker_color = {}
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
unique_groups = data['Class'].unique()
|
|
217
|
+
|
|
218
|
+
# Make sure the palette has enough colors for the unique groups
|
|
219
|
+
if len(unique_groups) > len(palette):
|
|
220
|
+
raise ValueError("The palette does not have enough colors for all unique groups")
|
|
221
|
+
|
|
222
|
+
# Map each unique group to a color
|
|
223
|
+
for group, color in zip(unique_groups, palette):
|
|
224
|
+
marker_color[group] = color
|
|
218
225
|
else:
|
|
219
226
|
marker_color = marker_color
|
|
220
227
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: metbit
|
|
3
|
-
Version: 5.2.
|
|
3
|
+
Version: 5.2.4
|
|
4
4
|
Summary: Metabolomics data analysis and visualization tools.
|
|
5
5
|
Home-page: https://github.com/aeiwz/metbit.git
|
|
6
|
-
Download-URL: https://github.com/aeiwz/metbit/archive/refs/tags/V5.2.
|
|
6
|
+
Download-URL: https://github.com/aeiwz/metbit/archive/refs/tags/V5.2.4.tar.gz
|
|
7
7
|
Author: aeiwz
|
|
8
8
|
Author-email: theerayut_aeiw_123@hotmail.com
|
|
9
9
|
License: MIT
|
|
@@ -12,13 +12,13 @@ DESCRIPTION = '\n\n'.join(LOAD_TEXT(_) for _ in [
|
|
|
12
12
|
setup(
|
|
13
13
|
name = 'metbit',
|
|
14
14
|
packages = ['metbit'],
|
|
15
|
-
version = '5.2.
|
|
15
|
+
version = '5.2.4',
|
|
16
16
|
license='MIT',
|
|
17
17
|
description = 'Metabolomics data analysis and visualization tools.',
|
|
18
18
|
author = 'aeiwz',
|
|
19
19
|
author_email = 'theerayut_aeiw_123@hotmail.com',
|
|
20
20
|
url = 'https://github.com/aeiwz/metbit.git',
|
|
21
|
-
download_url = 'https://github.com/aeiwz/metbit/archive/refs/tags/V5.2.
|
|
21
|
+
download_url = 'https://github.com/aeiwz/metbit/archive/refs/tags/V5.2.4.tar.gz',
|
|
22
22
|
keywords = ['Omics', 'Multivariate analysis', 'Visualization', 'Data Analysis', 'Metabolomics', 'Chemometrics'],
|
|
23
23
|
install_requires=[
|
|
24
24
|
'scikit-learn',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|