diff --git a/Docs/ChangeLog.md b/Docs/ChangeLog.md
index f43b4e7..cf38796 100644
--- a/Docs/ChangeLog.md
+++ b/Docs/ChangeLog.md
@@ -1,3 +1,10 @@
+
+# Version: 1.119.7
+## Date: 2024-12-5
+### Changes:
+- Change: Optimized the Data Overview section to make the layout more clear.
+- Update README.md
+
# Version: 1.119.6
## Date: 2024-12-5
### Changes:
diff --git a/Docs/MetaX_Cookbook.assets/otf_heatmap.png b/Docs/MetaX_Cookbook.assets/otf_heatmap.png
new file mode 100644
index 0000000..e499ec2
Binary files /dev/null and b/Docs/MetaX_Cookbook.assets/otf_heatmap.png differ
diff --git a/README.md b/README.md
index 263bda4..2392313 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,11 @@ Show all functions of a taxon
-
+**OTF Heatmap**
+Show OTFS intensity in groups(samples), e.g., **Species-KO** OTF Heatmap
+
+
## Download & Installation
- **Desktop Version** (Recommended)
diff --git a/metax/gui/main_gui.py b/metax/gui/main_gui.py
index 46ca921..e3b5f22 100644
--- a/metax/gui/main_gui.py
+++ b/metax/gui/main_gui.py
@@ -1045,7 +1045,7 @@ def change_theme(self, theme, silent=False):
padding: 5px;
margin: 2px;
height: 20px;
- }}
+ }}
'''
current_app = QtWidgets.QApplication.instance()
@@ -4070,7 +4070,7 @@ def plot_trends_cluster(self):
width=width, height=height, title=title
, font_size=font_size, num_col=num_col)
# create a dialog to show the figure
- # plt_dialog = PltDialog(self.MainWindow, fig)
+ # plt_dialog = PltDialog(self.MainWindow, fig) #obsolete
plt_size= (width*50, int(height*num_cluster*50/num_col) )
plt_dialog = ExportablePlotDialog(self.MainWindow,fig, plt_size)
#set title
@@ -4348,9 +4348,9 @@ def plot_taxa_stats(self):
else:
# BasicPlot(self.tfa).plot_taxa_stats()
theme = self.comboBox_data_overiew_theme.currentText()
- pic = BasicPlot(self.tfa).plot_taxa_stats_pie(theme=theme)
+ pic = BasicPlot(self.tfa).plot_taxa_stats_pie(theme=theme, font_size=8, width=5, height=4)
# Add the new MatplotlibWidget
- self.mat_widget_plot_peptide_num = MatplotlibWidget(pic)
+ self.mat_widget_plot_peptide_num = MatplotlibWidget(pic, width = 5, height = 4)
self.verticalLayout_overview_plot.addWidget(self.mat_widget_plot_peptide_num)
def plot_taxa_stats_new_window(self):
@@ -4369,9 +4369,10 @@ def plot_taxa_number(self):
QMessageBox.warning(self.MainWindow, 'Warning', 'Please run OTF Analyzer first!')
else:
theme = self.comboBox_data_overiew_theme.currentText()
- pic = BasicPlot(self.tfa).plot_taxa_number(theme = theme).get_figure()
+ pic = BasicPlot(self.tfa).plot_taxa_number(theme = theme, font_size = 8, width = 5,height = 4
+ ).get_figure()
- self.mat_widget_plot_taxa_num = MatplotlibWidget(pic)
+ self.mat_widget_plot_taxa_num = MatplotlibWidget(pic, width = 5, height = 4)
self.verticalLayout_overview_plot.addWidget(self.mat_widget_plot_taxa_num)
def plot_taxa_number_new_window(self):
@@ -4399,9 +4400,9 @@ def plot_peptide_num_in_func(self):
self.show_message('Plotting peptide number in function...')
BasicPlot(self.tfa).plot_prop_stats(func_name, theme=theme, res_type='show', font_size = font_size)
else:
- pic = BasicPlot(self.tfa).plot_prop_stats(func_name, theme=theme)
+ pic = BasicPlot(self.tfa).plot_prop_stats(func_name, theme=theme, font_size = 8, width=5, height=4)
- self.mat_widget_plot_peptide_num_in_func = MatplotlibWidget(pic.get_figure())
+ self.mat_widget_plot_peptide_num_in_func = MatplotlibWidget(pic.get_figure(), width = 5, height = 4)
self.verticalLayout_overview_func.addWidget(self.mat_widget_plot_peptide_num_in_func)
diff --git a/metax/gui/metax_gui/main_window.ui b/metax/gui/metax_gui/main_window.ui
index 100fcdc..32aac38 100644
--- a/metax/gui/metax_gui/main_window.ui
+++ b/metax/gui/metax_gui/main_window.ui
@@ -46,7 +46,7 @@
Qt::LeftToRight
- 3
+ 1
false
@@ -186,7 +186,7 @@
-
- Operational Taxa-Functions (OTF) Table (head 200)
+ Operational Taxon-Function (OTF) Table (head 200)
@@ -205,6 +205,9 @@
0
+
+ true
+
-
@@ -215,6 +218,15 @@
0
+
+ true
+
+
+ true
+
+
+ false
+
-
@@ -246,7 +258,7 @@
0
0
462
- 531
+ 527
@@ -3248,8 +3260,8 @@
0
0
- 885
- 170
+ 665
+ 157
@@ -6810,7 +6822,7 @@
0
0
885
- 170
+ 168
@@ -7664,8 +7676,8 @@
0
0
- 885
- 123
+ 620
+ 65
@@ -9600,7 +9612,7 @@
0
0
885
- 158
+ 155
@@ -10869,7 +10881,7 @@
0
0
991
- 21
+ 23