diff --git a/Docs/ChangeLog.md b/Docs/ChangeLog.md
index 29daf0a..0ed95eb 100644
--- a/Docs/ChangeLog.md
+++ b/Docs/ChangeLog.md
@@ -1,3 +1,8 @@
+# Version: 1.119.4
+## Date: 2024-12-3
+### Changes:
+- New: added an option to plot violin plot to replace the box plot in the basic plot part.
+
# Version: 1.119.3
## Date: 2024-12-3
### Changes:
diff --git a/Docs/MetaX_Cookbook.assets/basic_stats_heatmap.png b/Docs/MetaX_Cookbook.assets/basic_stats_heatmap.png
index 1ac0a1b..48d91b9 100644
Binary files a/Docs/MetaX_Cookbook.assets/basic_stats_heatmap.png and b/Docs/MetaX_Cookbook.assets/basic_stats_heatmap.png differ
diff --git a/Docs/MetaX_Cookbook.assets/basic_stats_heatmap_seeting.png b/Docs/MetaX_Cookbook.assets/basic_stats_heatmap_seeting.png
index b31c45a..a136072 100644
Binary files a/Docs/MetaX_Cookbook.assets/basic_stats_heatmap_seeting.png and b/Docs/MetaX_Cookbook.assets/basic_stats_heatmap_seeting.png differ
diff --git a/Docs/MetaX_Cookbook.assets/basic_stats_pca.png b/Docs/MetaX_Cookbook.assets/basic_stats_pca.png
index 75078c9..8714e93 100644
Binary files a/Docs/MetaX_Cookbook.assets/basic_stats_pca.png and b/Docs/MetaX_Cookbook.assets/basic_stats_pca.png differ
diff --git a/Docs/MetaX_Cookbook.assets/co_network_page.png b/Docs/MetaX_Cookbook.assets/co_network_page.png
index e034b93..ae8dee9 100644
Binary files a/Docs/MetaX_Cookbook.assets/co_network_page.png and b/Docs/MetaX_Cookbook.assets/co_network_page.png differ
diff --git a/Docs/MetaX_Cookbook.assets/dev_menu.png b/Docs/MetaX_Cookbook.assets/dev_menu.png
index 4226d2e..1b2d60b 100644
Binary files a/Docs/MetaX_Cookbook.assets/dev_menu.png and b/Docs/MetaX_Cookbook.assets/dev_menu.png differ
diff --git a/Docs/MetaX_Cookbook.assets/group_control_test.png b/Docs/MetaX_Cookbook.assets/group_control_test.png
index 50635a3..59ed96c 100644
Binary files a/Docs/MetaX_Cookbook.assets/group_control_test.png and b/Docs/MetaX_Cookbook.assets/group_control_test.png differ
diff --git a/Docs/MetaX_Cookbook.assets/group_in_condition.png b/Docs/MetaX_Cookbook.assets/group_in_condition.png
index 581301c..3945bd2 100644
Binary files a/Docs/MetaX_Cookbook.assets/group_in_condition.png and b/Docs/MetaX_Cookbook.assets/group_in_condition.png differ
diff --git a/Docs/MetaX_Cookbook.assets/pca_setting.png b/Docs/MetaX_Cookbook.assets/pca_setting.png
index 43e7841..0c3e396 100644
Binary files a/Docs/MetaX_Cookbook.assets/pca_setting.png and b/Docs/MetaX_Cookbook.assets/pca_setting.png differ
diff --git a/Docs/MetaX_Cookbook.assets/settings.png b/Docs/MetaX_Cookbook.assets/settings.png
index a602658..ab7261d 100644
Binary files a/Docs/MetaX_Cookbook.assets/settings.png and b/Docs/MetaX_Cookbook.assets/settings.png differ
diff --git a/Docs/MetaX_Cookbook.assets/settings_page2.png b/Docs/MetaX_Cookbook.assets/settings_page2.png
index b597afe..93128dc 100644
Binary files a/Docs/MetaX_Cookbook.assets/settings_page2.png and b/Docs/MetaX_Cookbook.assets/settings_page2.png differ
diff --git a/Docs/MetaX_Cookbook.assets/sub_meta.png b/Docs/MetaX_Cookbook.assets/sub_meta.png
index 9df3005..64a2d46 100644
Binary files a/Docs/MetaX_Cookbook.assets/sub_meta.png and b/Docs/MetaX_Cookbook.assets/sub_meta.png differ
diff --git a/Docs/MetaX_Cookbook.assets/t_test.png b/Docs/MetaX_Cookbook.assets/t_test.png
index 91f5c0c..c5b215b 100644
Binary files a/Docs/MetaX_Cookbook.assets/t_test.png and b/Docs/MetaX_Cookbook.assets/t_test.png differ
diff --git a/Docs/MetaX_Cookbook.assets/taxa_func_link_page.png b/Docs/MetaX_Cookbook.assets/taxa_func_link_page.png
index f279bb5..2bfe6f6 100644
Binary files a/Docs/MetaX_Cookbook.assets/taxa_func_link_page.png and b/Docs/MetaX_Cookbook.assets/taxa_func_link_page.png differ
diff --git a/Docs/MetaX_Cookbook.assets/taxa_func_link_page2.png b/Docs/MetaX_Cookbook.assets/taxa_func_link_page2.png
index 5a2994c..fa57a3e 100644
Binary files a/Docs/MetaX_Cookbook.assets/taxa_func_link_page2.png and b/Docs/MetaX_Cookbook.assets/taxa_func_link_page2.png differ
diff --git a/Docs/MetaX_Cookbook.assets/trends_page.png b/Docs/MetaX_Cookbook.assets/trends_page.png
index 75a8904..c6b57df 100644
Binary files a/Docs/MetaX_Cookbook.assets/trends_page.png and b/Docs/MetaX_Cookbook.assets/trends_page.png differ
diff --git a/Docs/MetaX_Cookbook.md b/Docs/MetaX_Cookbook.md
index a8b1696..beb5c26 100644
--- a/Docs/MetaX_Cookbook.md
+++ b/Docs/MetaX_Cookbook.md
@@ -257,7 +257,7 @@ We can select **meta** **groups** or **samples** (default a
- Select **Sub Meta** to plot with two meta
- -
+ -
- Change settings in the **PLOT PARAMETER** tab
@@ -269,11 +269,11 @@ We can select **meta** **groups** or **samples** (default a
**e.g. :** Select PBS, BAS and others groups **only in** Individual V1
- -
+ -
- Select **specific Samples** to Analysis
- -
+ -
@@ -309,7 +309,7 @@ We can select **meta** **groups** or **samples** (default a
### Heatmap and Bar Plot
-
+
- **Select items(Taxa, Function, Taxa-Func and Peptide ) to plot:**
- Add **All Taxa**, or select one we are interested in.
@@ -340,17 +340,10 @@ We can select **meta** **groups** or **samples** (default a
- **Rename Samples**: Add group info to each sample name
- **Rename Taxa**: Only keep the last taxonomic level to reduce to name
- **Plot Mean**: calculate the mean of each group before plotting
-
+
- **Sub Meta:** select a second meta, then combine two meta by mean for Heatmap and 3D bar plot
- - **For Heatmap**
- - **Theme**: The theme of the heatmap
- - **scale**: Scale method of the heatmap
- - **Show All Labels:** if show all labels in the heatmap
- - **For Bar**
- - **Bar Ldg**: Show the legend when plotting Bar
- - **Bar %:** Transfer each col to percent when plotting Bar
- -
-
+ -
+
- Plot all color maps to view by right click **Theme**
- ![right_click_theme](MetaX_Cookbook.assets/right_click_theme.png)
-
diff --git a/metax/gui/main_gui.py b/metax/gui/main_gui.py
index 13067c2..5726901 100644
--- a/metax/gui/main_gui.py
+++ b/metax/gui/main_gui.py
@@ -4499,10 +4499,13 @@ def get_title_by_table_name(self, table_name):
elif method == 'box':
plot_samples = self.checkBox_box_plot_samples.isChecked()
+ violinplot = self.checkBox_box_violinplot.isChecked()
+ log_scale = self.checkBox_box_log_scale.isChecked()
BasicPlot(self.tfa).plot_box_sns(df=df, title_name=title_name, show_fliers=show_fliers,
width=width, height=height, font_size=font_size, theme=theme,
rename_sample = rename_sample, plot_samples = plot_samples,
- legend_col_num=legend_col_num, sub_meta = sub_meta)
+ legend_col_num=legend_col_num, sub_meta = sub_meta,
+ violinplot=violinplot, log_scale=log_scale)
elif method == 'corr':
cluster = self.checkBox_corr_cluster.isChecked()
diff --git a/metax/gui/metax_gui/main_window.ui b/metax/gui/metax_gui/main_window.ui
index 9191950..42448ed 100644
--- a/metax/gui/metax_gui/main_window.ui
+++ b/metax/gui/metax_gui/main_window.ui
@@ -246,7 +246,7 @@
0
0
462
- 527
+ 531
@@ -1447,7 +1447,7 @@
QTabWidget::Triangular
- 0
+ 1
@@ -1831,7 +1831,7 @@
0
0
885
- 237
+ 239
@@ -2098,19 +2098,6 @@
- -
-
-
-
- 0
- 0
-
-
-
- show Fliers
-
-
-
-
@@ -2124,19 +2111,6 @@
- -
-
-
-
- 0
- 0
-
-
-
- Plot Samples
-
-
-
-
-
@@ -2607,6 +2581,50 @@
+ -
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ Plot Samples
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ show Fliers
+
+
+
+ -
+
+
+ Log Scale
+
+
+
+
+
+ -
+
+
+ Plot as Violinplot
+
+
+
@@ -2687,6 +2705,12 @@
-
+
+
+ 0
+ 0
+
+
Select for plotting
@@ -2724,7 +2748,7 @@
false
-
+
0
0
@@ -2740,7 +2764,7 @@
false
-
+
0
0
@@ -2756,7 +2780,7 @@
false
-
+
0
0
@@ -2899,7 +2923,7 @@
-
-
+
0
0
@@ -3162,7 +3186,7 @@
0
0
885
- 187
+ 170
@@ -5989,8 +6013,8 @@
0
0
- 865
- 117
+ 535
+ 94
@@ -6533,7 +6557,7 @@
false
-
+
0
0
@@ -6549,7 +6573,7 @@
false
-
+
0
0
@@ -6565,7 +6589,7 @@
false
-
+
0
0
@@ -6717,7 +6741,7 @@
0
0
885
- 168
+ 170
@@ -7133,13 +7157,13 @@
-
-
+
0
0
- Focus List
+ Select Focus
@@ -7359,19 +7383,6 @@
- -
-
-
-
- 0
- 0
-
-
-
- List for Plotting
-
-
-
-
@@ -7384,7 +7395,7 @@
16777215
- 260
+ 250
@@ -7402,7 +7413,7 @@
0
0
885
- 119
+ 123
@@ -7630,7 +7641,7 @@
-
-
+
0
0
@@ -7828,61 +7839,6 @@
- -
-
-
-
-
-
- false
-
-
-
- 0
- 0
-
-
-
- Drop Item
-
-
-
- -
-
-
- false
-
-
-
- 0
- 0
-
-
-
- Clean List
-
-
-
- -
-
-
- false
-
-
-
- 0
- 0
-
-
-
- Add a list to the drawing box, make sure there is one item per line.
-
-
- Add A list
-
-
-
-
-
-
@@ -7892,6 +7848,12 @@
-
+
+
+ 0
+ 0
+
+
Select for plotting
@@ -8121,6 +8083,61 @@
+ -
+
+
-
+
+
+ false
+
+
+
+ 0
+ 0
+
+
+
+ Drop Item
+
+
+
+ -
+
+
+ false
+
+
+
+ 0
+ 0
+
+
+
+ Clean List
+
+
+
+ -
+
+
+ false
+
+
+
+ 0
+ 0
+
+
+
+ Add a list to the drawing box, make sure there is one item per line.
+
+
+ Add A list
+
+
+
+
+
@@ -8141,7 +8158,7 @@
QTabWidget::Triangular
- 0
+ 1
@@ -9537,7 +9554,7 @@
0
0
885
- 166
+ 158
@@ -10738,7 +10755,7 @@
0
0
991
- 23
+ 21