diff --git a/Docs/ChangeLog.md b/Docs/ChangeLog.md
index 6b68082..c078e15 100644
--- a/Docs/ChangeLog.md
+++ b/Docs/ChangeLog.md
@@ -1,3 +1,10 @@
+# Version: 1.110.0
+## Date: 2024-08-12
+### Changes:
+- Fix: 1. Fixed the group order was not correct in the title of the volcano plot. 2. col scale bug when plot the basic heatmap.
+- Change: 1. Enable alpha/beta divversity for all type of tables. 2. Only asiign peptide to one protein rather than sahre the intensity when sum peptide to protein by razor method.
+
+
# Version: 1.109.12
## Date: 2024-08-10
### Changes:
diff --git a/metax/gui/main_gui.py b/metax/gui/main_gui.py
index 2d48dbe..771f677 100644
--- a/metax/gui/main_gui.py
+++ b/metax/gui/main_gui.py
@@ -592,8 +592,11 @@ def get_list_by_df_type(self, df_type:str, remove_no_linked:bool=False, silent:b
return res_list
def change_event_checkBox_basic_plot_table(self):
- taxa_only_button_list = [self.pushButton_plot_alpha_div, self.pushButton_plot_beta_div,
- self.pushButton_plot_sunburst, self.pushButton_plot_basic_treemap]
+ taxa_only_button_list = [
+ # self.pushButton_plot_alpha_div,
+ # self.pushButton_plot_beta_div,
+ self.pushButton_plot_sunburst,
+ self.pushButton_plot_basic_treemap]
taxa_func_button_list = [self.pushButton_plot_basic_sankey]
@@ -2984,6 +2987,8 @@ def enable_multi_button(self, state=True):
self.pushButton_trends_clean_list,
self.comboBox_trends_table,
self.pushButton_plot_pca_js,
+ self.pushButton_plot_alpha_div,
+ self.pushButton_plot_beta_div,
self.pushButton_trends_add_a_list,
self.pushButton_co_expr_add_a_list,
self.pushButton_basic_heatmap_add_a_list,
@@ -4217,8 +4222,9 @@ def get_title_by_table_name(self, table_name):
width=width, height=height, font_size=font_size,
plot_all_samples=plot_all_samples, theme=theme,
sub_meta = sub_meta, show_fliers = show_fliers,
- legend_col_num=legend_col_num, rename_sample = rename_sample)
- self.update_table_dict('alpha_diversity', aplha_diversity_df)
+ legend_col_num=legend_col_num, rename_sample = rename_sample,
+ df_type=table_name, title_name=title_name)
+ self.update_table_dict(f'alpha_diversity({title_name})', aplha_diversity_df)
elif method == "beta_div":
self.show_message('Beta diversity is running, please wait...')
metric = self.comboBox_beta_div_method.currentText()
@@ -4227,8 +4233,8 @@ def get_title_by_table_name(self, table_name):
rename_sample = rename_sample,
show_label = show_label, adjust_label = adjust_label,
theme=theme,sub_meta = sub_meta, legend_col_num=legend_col_num,
- dot_size = dot_size)
- self.update_table_dict('beta_diversity_distance_matrix', beta_diversity_distance_matrix)
+ dot_size = dot_size, df_type=table_name, title_name=title_name)
+ self.update_table_dict(f'beta_diversity_distance_matrix({title_name})', beta_diversity_distance_matrix)
elif method == 'sunburst':
@@ -4926,7 +4932,7 @@ def plot_deseq2_volcano(self):
height = self.spinBox_fc_plot_height.value()
group1 = self.comboBox_deseq2_group1.currentText()
group2 = self.comboBox_deseq2_group2.currentText()
- title_name = f'{group1} vs {group2} of {table_name.split("(")[1].split(")")[0]}'
+ title_name = f'{group2} vs {group1} of {table_name.split("(")[1].split(")")[0]}'
font_size = self.spinBox_deseq2_font_size.value()
dot_size = self.spinBox_deseq2_dot_size.value()
plot_js = self.checkBox_deseq2_js_volcano.isChecked()
@@ -5085,7 +5091,7 @@ def deseq2_plot_sankey(self):
return None
try:
df = self.table_dict[table_name]
- title_name = f'{group1} vs {group2} of {table_name.split("(")[1].split(")")[0]}'
+ title_name = f'{group2} vs {group1} of {table_name.split("(")[1].split(")")[0]}'
pic = SankeyPlot(self.tfa, theme=self.html_theme).plot_fc_sankey(df, width=width, height=height, pvalue=pvalue, p_type = p_type,
log2fc_min=log2fc_min, log2fc_max=log2fc_max, title =title_name, font_size=font_size)
diff --git a/metax/gui/metax_gui/main_window.ui b/metax/gui/metax_gui/main_window.ui
index 2844d1d..b586e1c 100644
--- a/metax/gui/metax_gui/main_window.ui
+++ b/metax/gui/metax_gui/main_window.ui
@@ -46,7 +46,7 @@
Qt::LeftToRight
- 4
+ 3
false
@@ -245,8 +245,8 @@
0
0
- 528
- 573
+ 391
+ 80
@@ -1400,7 +1400,7 @@
0
0
- 1016
+ 660
232
@@ -2672,7 +2672,7 @@
0
0
1016
- 162
+ 158
@@ -2808,7 +2808,7 @@
-
- column
+ col
-
@@ -3674,7 +3674,7 @@
0
0
- 1003
+ 1020
126
@@ -5543,7 +5543,7 @@
0
0
996
- 146
+ 140
@@ -6093,8 +6093,8 @@
0
0
- 1016
- 181
+ 493
+ 128
@@ -7323,8 +7323,8 @@
0
0
- 1016
- 144
+ 538
+ 63
@@ -8171,8 +8171,8 @@
0
0
- 1016
- 185
+ 775
+ 102
@@ -9091,8 +9091,8 @@
0
0
- 1016
- 168
+ 383
+ 68
@@ -10086,7 +10086,7 @@
0
0
1122
- 21
+ 23