metbit 5.2.0__tar.gz → 5.2.2__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.0 → metbit-5.2.2}/PKG-INFO +2 -2
- {metbit-5.2.0 → metbit-5.2.2}/metbit/lazy_opls_da.py +2 -1
- {metbit-5.2.0 → metbit-5.2.2}/metbit/metbit.py +11 -10
- {metbit-5.2.0 → metbit-5.2.2}/metbit.egg-info/PKG-INFO +2 -2
- {metbit-5.2.0 → metbit-5.2.2}/setup.py +2 -2
- {metbit-5.2.0 → metbit-5.2.2}/LICENSE +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/README.rst +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/__init__.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/base.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/boxplot.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/cross_validation.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/denoise_spec.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/dev.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/genpage.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/opls.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/pca_ellipse.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/peak_processe.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/plotting.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/pls.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/pretreatment.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/scaler.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/spec_norm.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/utility.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit/vip.py +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit.egg-info/SOURCES.txt +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit.egg-info/dependency_links.txt +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit.egg-info/requires.txt +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/metbit.egg-info/top_level.txt +0 -0
- {metbit-5.2.0 → metbit-5.2.2}/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.2
|
|
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.2.tar.gz
|
|
7
7
|
Author: aeiwz
|
|
8
8
|
Author-email: theerayut_aeiw_123@hotmail.com
|
|
9
9
|
License: MIT
|
|
@@ -203,13 +203,14 @@ class lazy_opls_da:
|
|
|
203
203
|
|
|
204
204
|
if marker_color is None:
|
|
205
205
|
|
|
206
|
+
import plotly.colors as plotly_colour
|
|
206
207
|
name_color_set = ['Plotly', 'D3', 'G10', 'T10', 'Alphabet', 'Dark24', 'Light24', 'Set1', 'Pastel1',
|
|
207
208
|
'Dark2', 'Set2', 'Pastel2', 'Set3', 'Antique', 'Safe', 'Bold', 'Pastel',
|
|
208
209
|
'Vivid', 'Prism']
|
|
209
210
|
|
|
210
211
|
palette = []
|
|
211
212
|
for name in name_color_set:
|
|
212
|
-
palette += getattr(
|
|
213
|
+
palette += getattr(plotly_colour.qualitative, name) # This is a list of colors
|
|
213
214
|
|
|
214
215
|
marker_color = {}
|
|
215
216
|
for i in data['Class'].unique():
|
|
@@ -660,14 +660,14 @@ class opls_da:
|
|
|
660
660
|
if color_dict is not None:
|
|
661
661
|
color_dict = color_dict
|
|
662
662
|
else:
|
|
663
|
-
|
|
663
|
+
import plotly.colors as plotly_colour
|
|
664
664
|
name_color_set = ['Plotly', 'D3', 'G10', 'T10', 'Alphabet', 'Dark24', 'Light24', 'Set1', 'Pastel1',
|
|
665
665
|
'Dark2', 'Set2', 'Pastel2', 'Set3', 'Antique', 'Safe', 'Bold', 'Pastel',
|
|
666
666
|
'Vivid', 'Prism']
|
|
667
667
|
|
|
668
668
|
palette = []
|
|
669
669
|
for name in name_color_set:
|
|
670
|
-
palette += getattr(
|
|
670
|
+
palette += getattr(plotly_colour.qualitative, name) # This is a list of colors
|
|
671
671
|
|
|
672
672
|
|
|
673
673
|
color_dict = {label: palette[i] for i, label in enumerate(df_opls_scores['Group'].unique())}
|
|
@@ -681,14 +681,14 @@ class opls_da:
|
|
|
681
681
|
else:
|
|
682
682
|
# Assign a default color if the label is not found in the original color_dict
|
|
683
683
|
|
|
684
|
-
|
|
684
|
+
import plotly.colors as plotly_colour
|
|
685
685
|
name_color_set = ['Plotly', 'D3', 'G10', 'T10', 'Alphabet', 'Dark24', 'Light24',
|
|
686
686
|
'Set1', 'Pastel1', 'Dark2', 'Set2', 'Pastel2', 'Set3',
|
|
687
687
|
'Antique', 'Safe', 'Bold', 'Pastel', 'Vivid', 'Prism']
|
|
688
688
|
|
|
689
689
|
palette = []
|
|
690
690
|
for name in name_color_set:
|
|
691
|
-
palette += getattr(
|
|
691
|
+
palette += getattr(plotly_colour.qualitative, name) # This is a list of colors
|
|
692
692
|
|
|
693
693
|
color_dict_2[group] = palette[len(color_dict_2) % len(palette)]
|
|
694
694
|
|
|
@@ -1480,7 +1480,8 @@ class pca:
|
|
|
1480
1480
|
if color_dict is not None:
|
|
1481
1481
|
color_dict = color_dict
|
|
1482
1482
|
else:
|
|
1483
|
-
|
|
1483
|
+
|
|
1484
|
+
import plotly.colors as plotly_colour
|
|
1484
1485
|
|
|
1485
1486
|
name_color_set = ['Plotly', 'D3', 'G10', 'T10', 'Alphabet', 'Dark24', 'Light24', 'Set1', 'Pastel1',
|
|
1486
1487
|
'Dark2', 'Set2', 'Pastel2', 'Set3', 'Antique', 'Safe', 'Bold', 'Pastel',
|
|
@@ -1488,7 +1489,7 @@ class pca:
|
|
|
1488
1489
|
|
|
1489
1490
|
palette = []
|
|
1490
1491
|
for name in name_color_set:
|
|
1491
|
-
palette += getattr(
|
|
1492
|
+
palette += getattr(plotly_colour.qualitative, name) # This is a list of colors
|
|
1492
1493
|
|
|
1493
1494
|
color_dict = {i: palette[i] for i in range(len(df_scores_['Group'].unique()))}
|
|
1494
1495
|
|
|
@@ -1748,14 +1749,14 @@ class pca:
|
|
|
1748
1749
|
color_dict = color_dict
|
|
1749
1750
|
else:
|
|
1750
1751
|
|
|
1751
|
-
|
|
1752
|
+
import plotly.colors as plotly_colour
|
|
1752
1753
|
name_color_set = ['Plotly', 'D3', 'G10', 'T10', 'Alphabet', 'Dark24', 'Light24', 'Set1', 'Pastel1',
|
|
1753
1754
|
'Dark2', 'Set2', 'Pastel2', 'Set3', 'Antique', 'Safe', 'Bold', 'Pastel',
|
|
1754
1755
|
'Vivid', 'Prism']
|
|
1755
1756
|
|
|
1756
1757
|
palette = []
|
|
1757
1758
|
for name in name_color_set:
|
|
1758
|
-
palette += getattr(
|
|
1759
|
+
palette += getattr(plotly_colour.qualitative, name) # This is a list of colors
|
|
1759
1760
|
|
|
1760
1761
|
|
|
1761
1762
|
color_dict = {i: palette[i] for i in range(len(df_scores_point['Group'].unique()))}
|
|
@@ -1953,14 +1954,14 @@ class pca:
|
|
|
1953
1954
|
color_dict = color_dict
|
|
1954
1955
|
else:
|
|
1955
1956
|
|
|
1956
|
-
|
|
1957
|
+
import plotly.colors as plotly_colour
|
|
1957
1958
|
name_color_set = ['Plotly', 'D3', 'G10', 'T10', 'Alphabet', 'Dark24', 'Light24', 'Set1', 'Pastel1',
|
|
1958
1959
|
'Dark2', 'Set2', 'Pastel2', 'Set3', 'Antique', 'Safe', 'Bold', 'Pastel',
|
|
1959
1960
|
'Vivid', 'Prism']
|
|
1960
1961
|
|
|
1961
1962
|
palette = []
|
|
1962
1963
|
for name in name_color_set:
|
|
1963
|
-
palette += getattr(
|
|
1964
|
+
palette += getattr(plotly_colour.qualitative, name) # This is a list of colors
|
|
1964
1965
|
|
|
1965
1966
|
|
|
1966
1967
|
color_dict = {i: palette[i] for i in range(len(df_scores_['Group'].unique()))}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: metbit
|
|
3
|
-
Version: 5.2.
|
|
3
|
+
Version: 5.2.2
|
|
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.2.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.2',
|
|
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.2.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
|