From 807ddb064b4c04fabdd0dd04ba79514f62f75b54 Mon Sep 17 00:00:00 2001 From: Qing <44231502+byemaxx@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:40:02 -0500 Subject: [PATCH] - Fix: add top error when in co-expression part and trends part. --- Docs/ChangeLog.md | 5 + metax/gui/main_gui.py | 23 +- metax/gui/metax_gui/main_window.ui | 1150 +++++++++++++------------ metax/gui/metax_gui/ui_main_window.py | 751 ++++++++-------- metax/utils/version.py | 2 +- pyproject.toml | 2 +- 6 files changed, 1008 insertions(+), 925 deletions(-) diff --git a/Docs/ChangeLog.md b/Docs/ChangeLog.md index 0ed95eb..452106c 100644 --- a/Docs/ChangeLog.md +++ b/Docs/ChangeLog.md @@ -1,3 +1,8 @@ +# Version: 1.119.5 +## Date: 2024-12-3 +### Changes: +- Fix: add top error when in co-expression part and trends part. + # Version: 1.119.4 ## Date: 2024-12-3 ### Changes: diff --git a/metax/gui/main_gui.py b/metax/gui/main_gui.py index 5726901..0c473fc 100644 --- a/metax/gui/main_gui.py +++ b/metax/gui/main_gui.py @@ -156,7 +156,7 @@ def __init__(self, MainWindow): icon_path = os.path.join(os.path.dirname(__file__), "./MetaX_GUI/resources/logo.png") self.MainWindow.setWindowIcon(QIcon(icon_path)) - self.MainWindow.resize(1440, 900) + self.MainWindow.resize(1200, 800) self.MainWindow.setWindowTitle("MetaX v" + __version__) self.logger = LoggerManager() @@ -402,7 +402,7 @@ def __init__(self, MainWindow): self.comboBox_co_expr_group_sample.currentIndexChanged.connect(lambda:self.change_event_comboBox_group_or_sample('co_expr_group')) self.comboBox_trends_group_sample.currentIndexChanged.connect(lambda:self.change_event_comboBox_group_or_sample('trends_group')) self.comboBox_tflink_group_sample.currentIndexChanged.connect(lambda:self.change_event_comboBox_group_or_sample('tflink_group')) - self.comboBox_radioButton_network_group_sample.currentIndexChanged.connect(lambda:self.change_event_comboBox_group_or_sample('tfnet_group')) + self.comboBox_network_group_sample.currentIndexChanged.connect(lambda:self.change_event_comboBox_group_or_sample('tfnet_group')) ### Peptide Qeruy self.pushButton_basic_peptide_query.clicked.connect(self.peptide_query) @@ -690,7 +690,7 @@ def change_event_comboBox_group_or_sample(self, position): 'tflink_group': {"current_text": 'comboBox_tflink_group_sample', "group_layout": ['horizontalLayout_78', 'gridLayout_tflink_group'], "sample_layout": ['gridLayout_tflink_sample']}, - 'tfnet_group': {"current_text": 'comboBox_radioButton_network_group_sample', + 'tfnet_group': {"current_text": 'comboBox_network_group_sample', "group_layout": ['horizontalLayout_55', 'gridLayout_network_group'], "sample_layout": ['gridLayout_network_sample']}, } @@ -3640,7 +3640,7 @@ def add_co_expr_top_list(self): top_num = self.spinBox_co_expr_top_num.value() filtered = self.checkBox_co_expr_top_filtered.isChecked() # get sample list - if self.radioButton_co_expr_bygroup.isChecked(): # select by group + if self.comboBox_co_expr_group_sample.currentText() == 'Group': group_list = self.comboBox_co_expr_group.getCheckedItems() in_condition = ( [self.comboBox_co_expression_condition_meta.currentText(), self.comboBox_co_expression_condition_group.getCheckedItems()] @@ -3968,7 +3968,6 @@ def add_trends_top_list(self): ) # get sample list - # if self.radioButton_trends_group.isChecked(): # select by group if self.comboBox_trends_group_sample.currentText() == 'Group': sample_list = self.get_sample_list_for_group_list_in_condition(group_list, condition=in_condition) @@ -4002,7 +4001,7 @@ def plot_trends_cluster(self): # get sample list and check if the sample list at least has 2 groups - if self.radioButton_trends_group.isChecked(): + if self.comboBox_trends_group_sample.currentText() == 'Group': condition = [self.comboBox_trends_condition_meta.currentText(), self.comboBox_trends_condition_group.getCheckedItems()]\ if self.checkBox_trends_in_condition.isChecked() else None @@ -4121,14 +4120,14 @@ def plot_trends_interactive_line(self): dft = self.get_table_by_df_type(df_type=table_name, replace_if_two_index = True) # get sample list - if self.radioButton_trends_group.isChecked(): + if self.comboBox_trends_group_sample.currentText() == 'Group': group_list = self.comboBox_trends_group.getCheckedItems() group_list = group_list if group_list != [] else sorted(set(self.tfa.group_list)) sample_list = self.get_sample_list_for_group_list_in_condition(group_list, condition=condition) if sample_list is None: return None - else: # self.radioButton_trends_sample.isChecked() + else: # select by sample sample_list = self.comboBox_trends_sample.getCheckedItems() if sample_list == []: sample_list = self.tfa.sample_list @@ -4447,7 +4446,6 @@ def get_title_by_table_name(self, table_name): title_name = get_title_by_table_name(self, table_name) # get sample list when plot by group - # if self.radioButton_basic_pca_group.isChecked(): if self.comboBox_basic_pca_group_sample.currentText() == 'Group': condition = [self.comboBox_basic_condition_meta.currentText(), self.comboBox_basic_condition_group.getCheckedItems()] \ @@ -5340,7 +5338,6 @@ def plot_co_expr(self, plot_type = 'network'): else: sample_list = slected_list # print(f'Plot with selected samples:{sample_list}') - # elif self.radioButton_co_expr_bygroup.isChecked(): elif self.comboBox_co_expr_group_sample.currentText() == 'Group': condition = [self.comboBox_co_expression_condition_meta.currentText(), self.comboBox_co_expression_condition_group.getCheckedItems()] \ @@ -5523,8 +5520,7 @@ def add_tfnet_top_list(self): df_type = self.comboBox_tfnet_table.currentText() filtered = self.checkBox_tfnet_top_filtered.isChecked() - # if self.radioButton_network_bysample.isChecked(): # by sample - if self.comboBox_radioButton_network_group_sample.currentText() == 'Sample': + if self.comboBox_network_group_sample.currentText() == 'Sample': slected_list = self.comboBox_network_sample.getCheckedItems() if slected_list: sample_list = slected_list @@ -5613,7 +5609,7 @@ def plot_network(self): rename_taxa = self.checkBox_tf_link_net_rename_taxa.isChecked() font_size = self.spinBox_network_font_size.value() - if self.radioButton_network_bysample.isChecked(): # by sample + if self.comboBox_network_group_sample.currentText() == 'Sample': slected_list = self.comboBox_network_sample.getCheckedItems() if slected_list: sample_list = slected_list @@ -5659,7 +5655,6 @@ def plot_network(self): def get_sample_list_tflink(self): # get sample list - # if self.radioButton_tflink_group.isChecked(): # by group if self.comboBox_tflink_group_sample.currentText() == 'Group': in_condition = ( [self.comboBox_tflink_condition_meta.currentText(), self.comboBox_tflink_condition_group.getCheckedItems()] diff --git a/metax/gui/metax_gui/main_window.ui b/metax/gui/metax_gui/main_window.ui index 42448ed..5ddd1fe 100644 --- a/metax/gui/metax_gui/main_window.ui +++ b/metax/gui/metax_gui/main_window.ui @@ -1830,7 +1830,7 @@ 0 0 - 885 + 799 239 @@ -5113,7 +5113,7 @@ - + 0 0 @@ -5122,7 +5122,7 @@ QTabWidget::Triangular - 0 + 3 @@ -6013,8 +6013,8 @@ 0 0 - 535 - 94 + 865 + 95 @@ -6532,7 +6532,7 @@ QTabWidget::Triangular - 0 + 1 @@ -6621,6 +6621,12 @@ + + + 0 + 0 + + Select @@ -7075,85 +7081,6 @@ - - - - - - - 0 - 0 - - - - Table - - - - - - - false - - - - 0 - 0 - - - - - Taxa - - - - - Functions - - - - - Taxa-Functions - - - - - Peptides - - - - - - - - - 0 - 0 - - - - Qt::LeftToRight - - - Meta - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - 0 - 0 - - - - - - @@ -7351,107 +7278,364 @@ - - - - - Expression Trends - - - - + + - + + + + 0 + 0 + + - Select + Table - + + + false + + + + 0 + 0 + + - Group + Taxa - Sample + Functions + + + + + Taxa-Functions + + + + + Peptides - - - - Qt::Horizontal + + + + + + + 0 + 0 + + + + Qt::LeftToRight + + + Meta + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + 0 + 0 + + + + + + + + + + + Expression Trends + + + + + + + 0 + 0 + - - - + + + + + 0 + 0 + + + - 16777215 - 250 + 600 + 0 - - Plotting Parameter - - - - - - true - - - - - 0 - 0 - 885 - 123 - - - - - - - - - - 0 - 0 - - - - Simplify Taxa Names - - - true - - - - - - - - 0 - 0 - - - - Plot Samples - - - - - - - + + + + + + + + Select Cluster + + + + + + + false + + + + 0 + 0 + + + + Get ClusterTable + + + + + + + + 75 + true + + + + Plot Specific Cluster + + + + + + + + + + Qt::Horizontal + + + + + + + Cluster Number + + + + + + + false + + + + 0 + 0 + + + + Plot Trends + + + + + + + false + + + + 0 + 0 + + + + Plot Interactive Line + + + + + + + 1 + + + 5 + + + + + + + + 75 + true + + + + Calculate Cluster + + + + + + + Show Plotting Parameter + + + + + + + + + + + + + + 0 + 0 + + + + Qt::LeftToRight + + + In Condition + + + + + + + + + true + + + + + + + true + + + + 0 + 0 + + + + + + + + + + + + + + + + + + + + Qt::Horizontal + + + + + + + + 16777215 + 250 + + + + Plotting Parameter + + + + + + true + + + + + 0 + 0 + 885 + 123 + + + + + + + + + + 0 + 0 + + + + Simplify Taxa Names + + + true + + + + + + + + 0 + 0 + + + + Plot Samples + + + + + + + 75 true @@ -7638,70 +7822,100 @@ - - - - - 0 - 0 - + + + + Qt::Horizontal - - + + + + false + + + + 0 + 0 + + + + Add conditionally filtered items to the drawing box + + + Add Top to List + + + + + - - - - - - 0 - 0 - - - - Qt::LeftToRight - - - In Condition - - - - - - - - - true - - - - - - - true - - - - 0 - 0 - - - - - - - + + + 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 + + + + + + + 0 + 0 + + + + Select for plotting + + + @@ -7839,243 +8053,6 @@ - - - - Qt::Horizontal - - - - - - - - 0 - 0 - - - - Select for plotting - - - - - - - - - - 0 - 0 - - - - Qt::LeftToRight - - - Table - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - false - - - - Taxa - - - - - Functions - - - - - Taxa-Functions - - - - - Peptides - - - - - - - - Meta - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - - - - - - 0 - 0 - - - - - 600 - 0 - - - - - - - - false - - - - 0 - 0 - - - - Add conditionally filtered items to the drawing box - - - Add Top to List - - - - - - - - - Select Cluster - - - - - - - false - - - - 0 - 0 - - - - Get ClusterTable - - - - - - - - 75 - true - - - - Plot Specific Cluster - - - - - - - - - - Qt::Horizontal - - - - - - - Cluster Number - - - - - - - false - - - - 0 - 0 - - - - Plot Trends - - - - - - - false - - - - 0 - 0 - - - - Plot Interactive Line - - - - - - - 1 - - - 5 - - - - - - - - 75 - true - - - - Calculate Cluster - - - - - - - Show Plotting Parameter - - - - - @@ -8083,59 +8060,108 @@ - - + + - - - false - + - + 0 0 - Drop Item + Select - - - false - + + + + Group + + + + + Sample + + + + + + + + + + - + 0 0 + + Qt::LeftToRight + - Clean List + Table + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - + false + + + Taxa + + + + + Functions + + + + + Taxa-Functions + + + + + Peptides + + + + + + + + + + - + 0 0 - - Add a list to the drawing box, make sure there is one item per line. - - Add A list + Meta + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + @@ -8249,25 +8275,12 @@ - - - - - 0 - 0 - - - - Qt::LeftToRight - - - - + 0 0 @@ -8901,19 +8914,6 @@ - - - - - 0 - 0 - - - - Meta - - - @@ -9134,6 +9134,36 @@ + + + + + + + 0 + 0 + + + + Meta + + + + + + + + 0 + 0 + + + + Qt::LeftToRight + + + + + @@ -9298,58 +9328,6 @@ - - - - - - - 0 - 0 - - - - Table - - - - - - - false - - - - Taxa - - - - - Functions - - - - - Taxa-Functions - - - - - - - - Meta - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - @@ -9516,7 +9494,7 @@ - + Group @@ -9793,6 +9771,74 @@ + + + + + + + 0 + 0 + + + + Table + + + + + + + false + + + + 0 + 0 + + + + + Taxa + + + + + Functions + + + + + Taxa-Functions + + + + + + + + + + + + + 0 + 0 + + + + Meta + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + diff --git a/metax/gui/metax_gui/ui_main_window.py b/metax/gui/metax_gui/ui_main_window.py index dfc4155..9104649 100644 --- a/metax/gui/metax_gui/ui_main_window.py +++ b/metax/gui/metax_gui/ui_main_window.py @@ -904,7 +904,7 @@ def setupUi(self, metaX_main): self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() - self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 885, 239)) + self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 799, 239)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.gridLayout_34 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents) self.gridLayout_34.setObjectName("gridLayout_34") @@ -2561,7 +2561,7 @@ def setupUi(self, metaX_main): self.gridLayout_75.addWidget(self.groupBox_cross_heatmap_settings, 1, 0, 1, 1) self.gridLayout_9.addWidget(self.groupBox_cross_heatmap_plot, 1, 0, 1, 1) self.tabWidget_3 = QtWidgets.QTabWidget(self.tab_2) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Ignored) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.tabWidget_3.sizePolicy().hasHeightForWidth()) @@ -3085,7 +3085,7 @@ def setupUi(self, metaX_main): self.scrollArea_3.setWidgetResizable(True) self.scrollArea_3.setObjectName("scrollArea_3") self.scrollAreaWidgetContents_4 = QtWidgets.QWidget() - self.scrollAreaWidgetContents_4.setGeometry(QtCore.QRect(0, 0, 535, 94)) + self.scrollAreaWidgetContents_4.setGeometry(QtCore.QRect(0, 0, 865, 95)) self.scrollAreaWidgetContents_4.setObjectName("scrollAreaWidgetContents_4") self.gridLayout_68 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents_4) self.gridLayout_68.setObjectName("gridLayout_68") @@ -3419,6 +3419,11 @@ def setupUi(self, metaX_main): self.horizontalLayout_67 = QtWidgets.QHBoxLayout() self.horizontalLayout_67.setObjectName("horizontalLayout_67") self.label_213 = QtWidgets.QLabel(self.tab_5) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_213.sizePolicy().hasHeightForWidth()) + self.label_213.setSizePolicy(sizePolicy) self.label_213.setObjectName("label_213") self.horizontalLayout_67.addWidget(self.label_213) self.comboBox_co_expr_group_sample = QtWidgets.QComboBox(self.tab_5) @@ -3669,48 +3674,6 @@ def setupUi(self, metaX_main): self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_11.setObjectName("line_11") self.gridLayout_47.addWidget(self.line_11, 1, 0, 1, 4) - self.horizontalLayout_41 = QtWidgets.QHBoxLayout() - self.horizontalLayout_41.setObjectName("horizontalLayout_41") - self.label_29 = QtWidgets.QLabel(self.tab_5) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_29.sizePolicy().hasHeightForWidth()) - self.label_29.setSizePolicy(sizePolicy) - self.label_29.setObjectName("label_29") - self.horizontalLayout_41.addWidget(self.label_29) - self.comboBox_co_expr_table = QtWidgets.QComboBox(self.tab_5) - self.comboBox_co_expr_table.setEnabled(False) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.comboBox_co_expr_table.sizePolicy().hasHeightForWidth()) - self.comboBox_co_expr_table.setSizePolicy(sizePolicy) - self.comboBox_co_expr_table.setObjectName("comboBox_co_expr_table") - self.comboBox_co_expr_table.addItem("") - self.comboBox_co_expr_table.addItem("") - self.comboBox_co_expr_table.addItem("") - self.comboBox_co_expr_table.addItem("") - self.horizontalLayout_41.addWidget(self.comboBox_co_expr_table) - self.label_143 = QtWidgets.QLabel(self.tab_5) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_143.sizePolicy().hasHeightForWidth()) - self.label_143.setSizePolicy(sizePolicy) - self.label_143.setLayoutDirection(QtCore.Qt.LeftToRight) - self.label_143.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.label_143.setObjectName("label_143") - self.horizontalLayout_41.addWidget(self.label_143) - self.comboBox_co_expr_meta = QtWidgets.QComboBox(self.tab_5) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.comboBox_co_expr_meta.sizePolicy().hasHeightForWidth()) - self.comboBox_co_expr_meta.setSizePolicy(sizePolicy) - self.comboBox_co_expr_meta.setObjectName("comboBox_co_expr_meta") - self.horizontalLayout_41.addWidget(self.comboBox_co_expr_meta) - self.gridLayout_47.addLayout(self.horizontalLayout_41, 0, 0, 1, 4) self.label_72 = QtWidgets.QLabel(self.tab_5) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) @@ -3801,22 +3764,176 @@ def setupUi(self, metaX_main): self.checkBox_co_expr_top_filtered.setObjectName("checkBox_co_expr_top_filtered") self.horizontalLayout_43.addWidget(self.checkBox_co_expr_top_filtered) self.gridLayout_47.addLayout(self.horizontalLayout_43, 6, 1, 1, 2) + self.horizontalLayout_41 = QtWidgets.QHBoxLayout() + self.horizontalLayout_41.setObjectName("horizontalLayout_41") + self.label_29 = QtWidgets.QLabel(self.tab_5) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_29.sizePolicy().hasHeightForWidth()) + self.label_29.setSizePolicy(sizePolicy) + self.label_29.setObjectName("label_29") + self.horizontalLayout_41.addWidget(self.label_29) + self.comboBox_co_expr_table = QtWidgets.QComboBox(self.tab_5) + self.comboBox_co_expr_table.setEnabled(False) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.comboBox_co_expr_table.sizePolicy().hasHeightForWidth()) + self.comboBox_co_expr_table.setSizePolicy(sizePolicy) + self.comboBox_co_expr_table.setObjectName("comboBox_co_expr_table") + self.comboBox_co_expr_table.addItem("") + self.comboBox_co_expr_table.addItem("") + self.comboBox_co_expr_table.addItem("") + self.comboBox_co_expr_table.addItem("") + self.horizontalLayout_41.addWidget(self.comboBox_co_expr_table) + self.gridLayout_47.addLayout(self.horizontalLayout_41, 0, 0, 1, 1) + self.horizontalLayout_113 = QtWidgets.QHBoxLayout() + self.horizontalLayout_113.setObjectName("horizontalLayout_113") + self.label_143 = QtWidgets.QLabel(self.tab_5) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_143.sizePolicy().hasHeightForWidth()) + self.label_143.setSizePolicy(sizePolicy) + self.label_143.setLayoutDirection(QtCore.Qt.LeftToRight) + self.label_143.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.label_143.setObjectName("label_143") + self.horizontalLayout_113.addWidget(self.label_143) + self.comboBox_co_expr_meta = QtWidgets.QComboBox(self.tab_5) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.comboBox_co_expr_meta.sizePolicy().hasHeightForWidth()) + self.comboBox_co_expr_meta.setSizePolicy(sizePolicy) + self.comboBox_co_expr_meta.setObjectName("comboBox_co_expr_meta") + self.horizontalLayout_113.addWidget(self.comboBox_co_expr_meta) + self.gridLayout_47.addLayout(self.horizontalLayout_113, 0, 1, 1, 1) self.tabWidget.addTab(self.tab_5, "") self.tab_15 = QtWidgets.QWidget() self.tab_15.setObjectName("tab_15") self.gridLayout_24 = QtWidgets.QGridLayout(self.tab_15) self.gridLayout_24.setObjectName("gridLayout_24") - self.horizontalLayout_115 = QtWidgets.QHBoxLayout() - self.horizontalLayout_115.setObjectName("horizontalLayout_115") - self.label_215 = QtWidgets.QLabel(self.tab_15) - self.label_215.setObjectName("label_215") - self.horizontalLayout_115.addWidget(self.label_215) - self.comboBox_trends_group_sample = QtWidgets.QComboBox(self.tab_15) - self.comboBox_trends_group_sample.setObjectName("comboBox_trends_group_sample") - self.comboBox_trends_group_sample.addItem("") - self.comboBox_trends_group_sample.addItem("") - self.horizontalLayout_115.addWidget(self.comboBox_trends_group_sample) - self.gridLayout_24.addLayout(self.horizontalLayout_115, 2, 0, 1, 1) + self.listWidget_trends_list_for_ploting = QtWidgets.QListWidget(self.tab_15) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.listWidget_trends_list_for_ploting.sizePolicy().hasHeightForWidth()) + self.listWidget_trends_list_for_ploting.setSizePolicy(sizePolicy) + self.listWidget_trends_list_for_ploting.setObjectName("listWidget_trends_list_for_ploting") + self.gridLayout_24.addWidget(self.listWidget_trends_list_for_ploting, 6, 1, 2, 4) + self.comboBox_trends_selection_list = QtWidgets.QComboBox(self.tab_15) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.comboBox_trends_selection_list.sizePolicy().hasHeightForWidth()) + self.comboBox_trends_selection_list.setSizePolicy(sizePolicy) + self.comboBox_trends_selection_list.setMinimumSize(QtCore.QSize(600, 0)) + self.comboBox_trends_selection_list.setObjectName("comboBox_trends_selection_list") + self.gridLayout_24.addWidget(self.comboBox_trends_selection_list, 4, 1, 1, 3) + self.gridLayout_61 = QtWidgets.QGridLayout() + self.gridLayout_61.setObjectName("gridLayout_61") + self.label_93 = QtWidgets.QLabel(self.tab_15) + self.label_93.setObjectName("label_93") + self.gridLayout_61.addWidget(self.label_93, 2, 1, 1, 1) + self.pushButton_trends_get_trends_table = QtWidgets.QPushButton(self.tab_15) + self.pushButton_trends_get_trends_table.setEnabled(False) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.pushButton_trends_get_trends_table.sizePolicy().hasHeightForWidth()) + self.pushButton_trends_get_trends_table.setSizePolicy(sizePolicy) + self.pushButton_trends_get_trends_table.setObjectName("pushButton_trends_get_trends_table") + self.gridLayout_61.addWidget(self.pushButton_trends_get_trends_table, 2, 4, 1, 1) + self.label_165 = QtWidgets.QLabel(self.tab_15) + font = QtGui.QFont() + font.setBold(True) + font.setWeight(75) + self.label_165.setFont(font) + self.label_165.setObjectName("label_165") + self.gridLayout_61.addWidget(self.label_165, 2, 0, 1, 1) + self.comboBox_trends_get_cluster_name = QtWidgets.QComboBox(self.tab_15) + self.comboBox_trends_get_cluster_name.setObjectName("comboBox_trends_get_cluster_name") + self.gridLayout_61.addWidget(self.comboBox_trends_get_cluster_name, 2, 2, 1, 1) + self.line_20 = QtWidgets.QFrame(self.tab_15) + self.line_20.setFrameShape(QtWidgets.QFrame.HLine) + self.line_20.setFrameShadow(QtWidgets.QFrame.Sunken) + self.line_20.setObjectName("line_20") + self.gridLayout_61.addWidget(self.line_20, 1, 1, 1, 4) + self.label_95 = QtWidgets.QLabel(self.tab_15) + self.label_95.setObjectName("label_95") + self.gridLayout_61.addWidget(self.label_95, 0, 1, 1, 1) + self.pushButton_trends_plot_trends = QtWidgets.QPushButton(self.tab_15) + self.pushButton_trends_plot_trends.setEnabled(False) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.pushButton_trends_plot_trends.sizePolicy().hasHeightForWidth()) + self.pushButton_trends_plot_trends.setSizePolicy(sizePolicy) + self.pushButton_trends_plot_trends.setObjectName("pushButton_trends_plot_trends") + self.gridLayout_61.addWidget(self.pushButton_trends_plot_trends, 0, 3, 1, 2) + self.pushButton_trends_plot_interactive_line = QtWidgets.QPushButton(self.tab_15) + self.pushButton_trends_plot_interactive_line.setEnabled(False) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.pushButton_trends_plot_interactive_line.sizePolicy().hasHeightForWidth()) + self.pushButton_trends_plot_interactive_line.setSizePolicy(sizePolicy) + self.pushButton_trends_plot_interactive_line.setObjectName("pushButton_trends_plot_interactive_line") + self.gridLayout_61.addWidget(self.pushButton_trends_plot_interactive_line, 2, 3, 1, 1) + self.spinBox_trends_num_cluster = QtWidgets.QSpinBox(self.tab_15) + self.spinBox_trends_num_cluster.setMinimum(1) + self.spinBox_trends_num_cluster.setProperty("value", 5) + self.spinBox_trends_num_cluster.setObjectName("spinBox_trends_num_cluster") + self.gridLayout_61.addWidget(self.spinBox_trends_num_cluster, 0, 2, 1, 1) + self.label_145 = QtWidgets.QLabel(self.tab_15) + font = QtGui.QFont() + font.setBold(True) + font.setWeight(75) + self.label_145.setFont(font) + self.label_145.setObjectName("label_145") + self.gridLayout_61.addWidget(self.label_145, 0, 0, 1, 1) + self.checkBox_5 = QtWidgets.QCheckBox(self.tab_15) + self.checkBox_5.setObjectName("checkBox_5") + self.gridLayout_61.addWidget(self.checkBox_5, 3, 0, 1, 1) + self.gridLayout_24.addLayout(self.gridLayout_61, 9, 0, 1, 5) + self.horizontalLayout_116 = QtWidgets.QHBoxLayout() + self.horizontalLayout_116.setObjectName("horizontalLayout_116") + self.horizontalLayout_45 = QtWidgets.QHBoxLayout() + self.horizontalLayout_45.setObjectName("horizontalLayout_45") + self.checkBox_trends_in_condition = QtWidgets.QCheckBox(self.tab_15) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.checkBox_trends_in_condition.sizePolicy().hasHeightForWidth()) + self.checkBox_trends_in_condition.setSizePolicy(sizePolicy) + self.checkBox_trends_in_condition.setLayoutDirection(QtCore.Qt.LeftToRight) + self.checkBox_trends_in_condition.setObjectName("checkBox_trends_in_condition") + self.horizontalLayout_45.addWidget(self.checkBox_trends_in_condition) + self.horizontalLayout_76 = QtWidgets.QHBoxLayout() + self.horizontalLayout_76.setObjectName("horizontalLayout_76") + self.comboBox_trends_condition_meta = QtWidgets.QComboBox(self.tab_15) + self.comboBox_trends_condition_meta.setEnabled(True) + self.comboBox_trends_condition_meta.setObjectName("comboBox_trends_condition_meta") + self.horizontalLayout_76.addWidget(self.comboBox_trends_condition_meta) + self.comboBox_trends_condition_group = QtWidgets.QComboBox(self.tab_15) + self.comboBox_trends_condition_group.setEnabled(True) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.comboBox_trends_condition_group.sizePolicy().hasHeightForWidth()) + self.comboBox_trends_condition_group.setSizePolicy(sizePolicy) + self.comboBox_trends_condition_group.setObjectName("comboBox_trends_condition_group") + self.horizontalLayout_76.addWidget(self.comboBox_trends_condition_group) + self.horizontalLayout_45.addLayout(self.horizontalLayout_76) + self.horizontalLayout_116.addLayout(self.horizontalLayout_45) + self.verticalLayout_trends_group = QtWidgets.QVBoxLayout() + self.verticalLayout_trends_group.setObjectName("verticalLayout_trends_group") + self.horizontalLayout_116.addLayout(self.verticalLayout_trends_group) + self.verticalLayout_trends_sample = QtWidgets.QVBoxLayout() + self.verticalLayout_trends_sample.setObjectName("verticalLayout_trends_sample") + self.horizontalLayout_116.addLayout(self.verticalLayout_trends_sample) + self.gridLayout_24.addLayout(self.horizontalLayout_116, 2, 1, 1, 4) self.line_18 = QtWidgets.QFrame(self.tab_15) self.line_18.setFrameShape(QtWidgets.QFrame.HLine) self.line_18.setFrameShadow(QtWidgets.QFrame.Sunken) @@ -3965,158 +4082,11 @@ def setupUi(self, metaX_main): self.scrollArea_5.setWidget(self.scrollAreaWidgetContents_6) self.gridLayout_60.addWidget(self.scrollArea_5, 0, 0, 1, 1) self.gridLayout_24.addWidget(self.groupBox_expression_trends_plot_settings, 10, 0, 1, 5) - self.listWidget_trends_list_for_ploting = QtWidgets.QListWidget(self.tab_15) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.listWidget_trends_list_for_ploting.sizePolicy().hasHeightForWidth()) - self.listWidget_trends_list_for_ploting.setSizePolicy(sizePolicy) - self.listWidget_trends_list_for_ploting.setObjectName("listWidget_trends_list_for_ploting") - self.gridLayout_24.addWidget(self.listWidget_trends_list_for_ploting, 6, 1, 2, 4) - self.horizontalLayout_116 = QtWidgets.QHBoxLayout() - self.horizontalLayout_116.setObjectName("horizontalLayout_116") - self.horizontalLayout_45 = QtWidgets.QHBoxLayout() - self.horizontalLayout_45.setObjectName("horizontalLayout_45") - self.checkBox_trends_in_condition = QtWidgets.QCheckBox(self.tab_15) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.checkBox_trends_in_condition.sizePolicy().hasHeightForWidth()) - self.checkBox_trends_in_condition.setSizePolicy(sizePolicy) - self.checkBox_trends_in_condition.setLayoutDirection(QtCore.Qt.LeftToRight) - self.checkBox_trends_in_condition.setObjectName("checkBox_trends_in_condition") - self.horizontalLayout_45.addWidget(self.checkBox_trends_in_condition) - self.horizontalLayout_76 = QtWidgets.QHBoxLayout() - self.horizontalLayout_76.setObjectName("horizontalLayout_76") - self.comboBox_trends_condition_meta = QtWidgets.QComboBox(self.tab_15) - self.comboBox_trends_condition_meta.setEnabled(True) - self.comboBox_trends_condition_meta.setObjectName("comboBox_trends_condition_meta") - self.horizontalLayout_76.addWidget(self.comboBox_trends_condition_meta) - self.comboBox_trends_condition_group = QtWidgets.QComboBox(self.tab_15) - self.comboBox_trends_condition_group.setEnabled(True) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.comboBox_trends_condition_group.sizePolicy().hasHeightForWidth()) - self.comboBox_trends_condition_group.setSizePolicy(sizePolicy) - self.comboBox_trends_condition_group.setObjectName("comboBox_trends_condition_group") - self.horizontalLayout_76.addWidget(self.comboBox_trends_condition_group) - self.horizontalLayout_45.addLayout(self.horizontalLayout_76) - self.horizontalLayout_116.addLayout(self.horizontalLayout_45) - self.verticalLayout_trends_group = QtWidgets.QVBoxLayout() - self.verticalLayout_trends_group.setObjectName("verticalLayout_trends_group") - self.horizontalLayout_116.addLayout(self.verticalLayout_trends_group) - self.verticalLayout_trends_sample = QtWidgets.QVBoxLayout() - self.verticalLayout_trends_sample.setObjectName("verticalLayout_trends_sample") - self.horizontalLayout_116.addLayout(self.verticalLayout_trends_sample) - self.gridLayout_24.addLayout(self.horizontalLayout_116, 2, 1, 1, 4) - self.pushButton_trends_add = QtWidgets.QPushButton(self.tab_15) - self.pushButton_trends_add.setEnabled(False) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_trends_add.sizePolicy().hasHeightForWidth()) - self.pushButton_trends_add.setSizePolicy(sizePolicy) - self.pushButton_trends_add.setObjectName("pushButton_trends_add") - self.gridLayout_24.addWidget(self.pushButton_trends_add, 4, 4, 1, 1) - self.horizontalLayout_46 = QtWidgets.QHBoxLayout() - self.horizontalLayout_46.setObjectName("horizontalLayout_46") - self.label_99 = QtWidgets.QLabel(self.tab_15) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_99.sizePolicy().hasHeightForWidth()) - self.label_99.setSizePolicy(sizePolicy) - self.label_99.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.label_99.setObjectName("label_99") - self.horizontalLayout_46.addWidget(self.label_99) - self.spinBox_trends_top_num = QtWidgets.QSpinBox(self.tab_15) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.spinBox_trends_top_num.sizePolicy().hasHeightForWidth()) - self.spinBox_trends_top_num.setSizePolicy(sizePolicy) - self.spinBox_trends_top_num.setMinimum(1) - self.spinBox_trends_top_num.setMaximum(99999) - self.spinBox_trends_top_num.setProperty("value", 10) - self.spinBox_trends_top_num.setObjectName("spinBox_trends_top_num") - self.horizontalLayout_46.addWidget(self.spinBox_trends_top_num) - self.label_91 = QtWidgets.QLabel(self.tab_15) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_91.sizePolicy().hasHeightForWidth()) - self.label_91.setSizePolicy(sizePolicy) - self.label_91.setObjectName("label_91") - self.horizontalLayout_46.addWidget(self.label_91) - self.comboBox_trends_top_by = QtWidgets.QComboBox(self.tab_15) - self.comboBox_trends_top_by.setObjectName("comboBox_trends_top_by") - self.comboBox_trends_top_by.addItem("") - self.comboBox_trends_top_by.addItem("") - self.comboBox_trends_top_by.addItem("") - self.comboBox_trends_top_by.addItem("") - self.comboBox_trends_top_by.addItem("") - self.comboBox_trends_top_by.addItem("") - self.comboBox_trends_top_by.addItem("") - self.comboBox_trends_top_by.addItem("") - self.comboBox_trends_top_by.addItem("") - self.comboBox_trends_top_by.addItem("") - self.comboBox_trends_top_by.addItem("") - self.horizontalLayout_46.addWidget(self.comboBox_trends_top_by) - self.checkBox_trends_top_filtered = QtWidgets.QCheckBox(self.tab_15) - self.checkBox_trends_top_filtered.setObjectName("checkBox_trends_top_filtered") - self.horizontalLayout_46.addWidget(self.checkBox_trends_top_filtered) - self.gridLayout_24.addLayout(self.horizontalLayout_46, 5, 1, 1, 3) self.line_19 = QtWidgets.QFrame(self.tab_15) self.line_19.setFrameShape(QtWidgets.QFrame.HLine) self.line_19.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_19.setObjectName("line_19") self.gridLayout_24.addWidget(self.line_19, 3, 0, 1, 5) - self.label_100 = QtWidgets.QLabel(self.tab_15) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_100.sizePolicy().hasHeightForWidth()) - self.label_100.setSizePolicy(sizePolicy) - self.label_100.setObjectName("label_100") - self.gridLayout_24.addWidget(self.label_100, 4, 0, 1, 1) - self.horizontalLayout_44 = QtWidgets.QHBoxLayout() - self.horizontalLayout_44.setObjectName("horizontalLayout_44") - self.label_96 = QtWidgets.QLabel(self.tab_15) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_96.sizePolicy().hasHeightForWidth()) - self.label_96.setSizePolicy(sizePolicy) - self.label_96.setLayoutDirection(QtCore.Qt.LeftToRight) - self.label_96.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.label_96.setObjectName("label_96") - self.horizontalLayout_44.addWidget(self.label_96) - self.comboBox_trends_table = QtWidgets.QComboBox(self.tab_15) - self.comboBox_trends_table.setEnabled(False) - self.comboBox_trends_table.setObjectName("comboBox_trends_table") - self.comboBox_trends_table.addItem("") - self.comboBox_trends_table.addItem("") - self.comboBox_trends_table.addItem("") - self.comboBox_trends_table.addItem("") - self.horizontalLayout_44.addWidget(self.comboBox_trends_table) - self.label_148 = QtWidgets.QLabel(self.tab_15) - self.label_148.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.label_148.setObjectName("label_148") - self.horizontalLayout_44.addWidget(self.label_148) - self.comboBox_trends_meta = QtWidgets.QComboBox(self.tab_15) - self.comboBox_trends_meta.setObjectName("comboBox_trends_meta") - self.horizontalLayout_44.addWidget(self.comboBox_trends_meta) - self.gridLayout_24.addLayout(self.horizontalLayout_44, 0, 0, 1, 5) - self.comboBox_trends_selection_list = QtWidgets.QComboBox(self.tab_15) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.comboBox_trends_selection_list.sizePolicy().hasHeightForWidth()) - self.comboBox_trends_selection_list.setSizePolicy(sizePolicy) - self.comboBox_trends_selection_list.setMinimumSize(QtCore.QSize(600, 0)) - self.comboBox_trends_selection_list.setObjectName("comboBox_trends_selection_list") - self.gridLayout_24.addWidget(self.comboBox_trends_selection_list, 4, 1, 1, 3) self.pushButton_trends_add_top = QtWidgets.QPushButton(self.tab_15) self.pushButton_trends_add_top.setEnabled(False) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) @@ -4126,77 +4096,6 @@ def setupUi(self, metaX_main): self.pushButton_trends_add_top.setSizePolicy(sizePolicy) self.pushButton_trends_add_top.setObjectName("pushButton_trends_add_top") self.gridLayout_24.addWidget(self.pushButton_trends_add_top, 5, 4, 1, 1) - self.gridLayout_61 = QtWidgets.QGridLayout() - self.gridLayout_61.setObjectName("gridLayout_61") - self.label_93 = QtWidgets.QLabel(self.tab_15) - self.label_93.setObjectName("label_93") - self.gridLayout_61.addWidget(self.label_93, 2, 1, 1, 1) - self.pushButton_trends_get_trends_table = QtWidgets.QPushButton(self.tab_15) - self.pushButton_trends_get_trends_table.setEnabled(False) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_trends_get_trends_table.sizePolicy().hasHeightForWidth()) - self.pushButton_trends_get_trends_table.setSizePolicy(sizePolicy) - self.pushButton_trends_get_trends_table.setObjectName("pushButton_trends_get_trends_table") - self.gridLayout_61.addWidget(self.pushButton_trends_get_trends_table, 2, 4, 1, 1) - self.label_165 = QtWidgets.QLabel(self.tab_15) - font = QtGui.QFont() - font.setBold(True) - font.setWeight(75) - self.label_165.setFont(font) - self.label_165.setObjectName("label_165") - self.gridLayout_61.addWidget(self.label_165, 2, 0, 1, 1) - self.comboBox_trends_get_cluster_name = QtWidgets.QComboBox(self.tab_15) - self.comboBox_trends_get_cluster_name.setObjectName("comboBox_trends_get_cluster_name") - self.gridLayout_61.addWidget(self.comboBox_trends_get_cluster_name, 2, 2, 1, 1) - self.line_20 = QtWidgets.QFrame(self.tab_15) - self.line_20.setFrameShape(QtWidgets.QFrame.HLine) - self.line_20.setFrameShadow(QtWidgets.QFrame.Sunken) - self.line_20.setObjectName("line_20") - self.gridLayout_61.addWidget(self.line_20, 1, 1, 1, 4) - self.label_95 = QtWidgets.QLabel(self.tab_15) - self.label_95.setObjectName("label_95") - self.gridLayout_61.addWidget(self.label_95, 0, 1, 1, 1) - self.pushButton_trends_plot_trends = QtWidgets.QPushButton(self.tab_15) - self.pushButton_trends_plot_trends.setEnabled(False) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_trends_plot_trends.sizePolicy().hasHeightForWidth()) - self.pushButton_trends_plot_trends.setSizePolicy(sizePolicy) - self.pushButton_trends_plot_trends.setObjectName("pushButton_trends_plot_trends") - self.gridLayout_61.addWidget(self.pushButton_trends_plot_trends, 0, 3, 1, 2) - self.pushButton_trends_plot_interactive_line = QtWidgets.QPushButton(self.tab_15) - self.pushButton_trends_plot_interactive_line.setEnabled(False) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_trends_plot_interactive_line.sizePolicy().hasHeightForWidth()) - self.pushButton_trends_plot_interactive_line.setSizePolicy(sizePolicy) - self.pushButton_trends_plot_interactive_line.setObjectName("pushButton_trends_plot_interactive_line") - self.gridLayout_61.addWidget(self.pushButton_trends_plot_interactive_line, 2, 3, 1, 1) - self.spinBox_trends_num_cluster = QtWidgets.QSpinBox(self.tab_15) - self.spinBox_trends_num_cluster.setMinimum(1) - self.spinBox_trends_num_cluster.setProperty("value", 5) - self.spinBox_trends_num_cluster.setObjectName("spinBox_trends_num_cluster") - self.gridLayout_61.addWidget(self.spinBox_trends_num_cluster, 0, 2, 1, 1) - self.label_145 = QtWidgets.QLabel(self.tab_15) - font = QtGui.QFont() - font.setBold(True) - font.setWeight(75) - self.label_145.setFont(font) - self.label_145.setObjectName("label_145") - self.gridLayout_61.addWidget(self.label_145, 0, 0, 1, 1) - self.checkBox_5 = QtWidgets.QCheckBox(self.tab_15) - self.checkBox_5.setObjectName("checkBox_5") - self.gridLayout_61.addWidget(self.checkBox_5, 3, 0, 1, 1) - self.gridLayout_24.addLayout(self.gridLayout_61, 9, 0, 1, 5) - self.line_31 = QtWidgets.QFrame(self.tab_15) - self.line_31.setFrameShape(QtWidgets.QFrame.HLine) - self.line_31.setFrameShadow(QtWidgets.QFrame.Sunken) - self.line_31.setObjectName("line_31") - self.gridLayout_24.addWidget(self.line_31, 8, 0, 1, 5) self.verticalLayout_3 = QtWidgets.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.pushButton_trends_drop_item = QtWidgets.QPushButton(self.tab_15) @@ -4227,6 +4126,128 @@ def setupUi(self, metaX_main): self.pushButton_trends_add_a_list.setObjectName("pushButton_trends_add_a_list") self.verticalLayout_3.addWidget(self.pushButton_trends_add_a_list) self.gridLayout_24.addLayout(self.verticalLayout_3, 6, 0, 2, 1) + self.label_100 = QtWidgets.QLabel(self.tab_15) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_100.sizePolicy().hasHeightForWidth()) + self.label_100.setSizePolicy(sizePolicy) + self.label_100.setObjectName("label_100") + self.gridLayout_24.addWidget(self.label_100, 4, 0, 1, 1) + self.pushButton_trends_add = QtWidgets.QPushButton(self.tab_15) + self.pushButton_trends_add.setEnabled(False) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.pushButton_trends_add.sizePolicy().hasHeightForWidth()) + self.pushButton_trends_add.setSizePolicy(sizePolicy) + self.pushButton_trends_add.setObjectName("pushButton_trends_add") + self.gridLayout_24.addWidget(self.pushButton_trends_add, 4, 4, 1, 1) + self.horizontalLayout_46 = QtWidgets.QHBoxLayout() + self.horizontalLayout_46.setObjectName("horizontalLayout_46") + self.label_99 = QtWidgets.QLabel(self.tab_15) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_99.sizePolicy().hasHeightForWidth()) + self.label_99.setSizePolicy(sizePolicy) + self.label_99.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.label_99.setObjectName("label_99") + self.horizontalLayout_46.addWidget(self.label_99) + self.spinBox_trends_top_num = QtWidgets.QSpinBox(self.tab_15) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.spinBox_trends_top_num.sizePolicy().hasHeightForWidth()) + self.spinBox_trends_top_num.setSizePolicy(sizePolicy) + self.spinBox_trends_top_num.setMinimum(1) + self.spinBox_trends_top_num.setMaximum(99999) + self.spinBox_trends_top_num.setProperty("value", 10) + self.spinBox_trends_top_num.setObjectName("spinBox_trends_top_num") + self.horizontalLayout_46.addWidget(self.spinBox_trends_top_num) + self.label_91 = QtWidgets.QLabel(self.tab_15) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_91.sizePolicy().hasHeightForWidth()) + self.label_91.setSizePolicy(sizePolicy) + self.label_91.setObjectName("label_91") + self.horizontalLayout_46.addWidget(self.label_91) + self.comboBox_trends_top_by = QtWidgets.QComboBox(self.tab_15) + self.comboBox_trends_top_by.setObjectName("comboBox_trends_top_by") + self.comboBox_trends_top_by.addItem("") + self.comboBox_trends_top_by.addItem("") + self.comboBox_trends_top_by.addItem("") + self.comboBox_trends_top_by.addItem("") + self.comboBox_trends_top_by.addItem("") + self.comboBox_trends_top_by.addItem("") + self.comboBox_trends_top_by.addItem("") + self.comboBox_trends_top_by.addItem("") + self.comboBox_trends_top_by.addItem("") + self.comboBox_trends_top_by.addItem("") + self.comboBox_trends_top_by.addItem("") + self.horizontalLayout_46.addWidget(self.comboBox_trends_top_by) + self.checkBox_trends_top_filtered = QtWidgets.QCheckBox(self.tab_15) + self.checkBox_trends_top_filtered.setObjectName("checkBox_trends_top_filtered") + self.horizontalLayout_46.addWidget(self.checkBox_trends_top_filtered) + self.gridLayout_24.addLayout(self.horizontalLayout_46, 5, 1, 1, 3) + self.line_31 = QtWidgets.QFrame(self.tab_15) + self.line_31.setFrameShape(QtWidgets.QFrame.HLine) + self.line_31.setFrameShadow(QtWidgets.QFrame.Sunken) + self.line_31.setObjectName("line_31") + self.gridLayout_24.addWidget(self.line_31, 8, 0, 1, 5) + self.horizontalLayout_115 = QtWidgets.QHBoxLayout() + self.horizontalLayout_115.setObjectName("horizontalLayout_115") + self.label_215 = QtWidgets.QLabel(self.tab_15) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_215.sizePolicy().hasHeightForWidth()) + self.label_215.setSizePolicy(sizePolicy) + self.label_215.setObjectName("label_215") + self.horizontalLayout_115.addWidget(self.label_215) + self.comboBox_trends_group_sample = QtWidgets.QComboBox(self.tab_15) + self.comboBox_trends_group_sample.setObjectName("comboBox_trends_group_sample") + self.comboBox_trends_group_sample.addItem("") + self.comboBox_trends_group_sample.addItem("") + self.horizontalLayout_115.addWidget(self.comboBox_trends_group_sample) + self.gridLayout_24.addLayout(self.horizontalLayout_115, 2, 0, 1, 1) + self.horizontalLayout_44 = QtWidgets.QHBoxLayout() + self.horizontalLayout_44.setObjectName("horizontalLayout_44") + self.label_96 = QtWidgets.QLabel(self.tab_15) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_96.sizePolicy().hasHeightForWidth()) + self.label_96.setSizePolicy(sizePolicy) + self.label_96.setLayoutDirection(QtCore.Qt.LeftToRight) + self.label_96.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.label_96.setObjectName("label_96") + self.horizontalLayout_44.addWidget(self.label_96) + self.comboBox_trends_table = QtWidgets.QComboBox(self.tab_15) + self.comboBox_trends_table.setEnabled(False) + self.comboBox_trends_table.setObjectName("comboBox_trends_table") + self.comboBox_trends_table.addItem("") + self.comboBox_trends_table.addItem("") + self.comboBox_trends_table.addItem("") + self.comboBox_trends_table.addItem("") + self.horizontalLayout_44.addWidget(self.comboBox_trends_table) + self.gridLayout_24.addLayout(self.horizontalLayout_44, 0, 0, 1, 2) + self.horizontalLayout_121 = QtWidgets.QHBoxLayout() + self.horizontalLayout_121.setObjectName("horizontalLayout_121") + self.label_148 = QtWidgets.QLabel(self.tab_15) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_148.sizePolicy().hasHeightForWidth()) + self.label_148.setSizePolicy(sizePolicy) + self.label_148.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.label_148.setObjectName("label_148") + self.horizontalLayout_121.addWidget(self.label_148) + self.comboBox_trends_meta = QtWidgets.QComboBox(self.tab_15) + self.comboBox_trends_meta.setObjectName("comboBox_trends_meta") + self.horizontalLayout_121.addWidget(self.comboBox_trends_meta) + self.gridLayout_24.addLayout(self.horizontalLayout_121, 0, 2, 1, 1) self.tabWidget.addTab(self.tab_15, "") self.gridLayout_12.addWidget(self.tabWidget, 0, 0, 1, 1) self.tabWidget_TaxaFuncAnalyzer.addTab(self.tab_diff_stats, "") @@ -4285,19 +4306,10 @@ def setupUi(self, metaX_main): self.label_18.setSizePolicy(sizePolicy) self.label_18.setObjectName("label_18") self.gridLayout_4.addWidget(self.label_18, 5, 0, 1, 1) - self.comboBox_tflink_meta = QtWidgets.QComboBox(self.tab_8) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.comboBox_tflink_meta.sizePolicy().hasHeightForWidth()) - self.comboBox_tflink_meta.setSizePolicy(sizePolicy) - self.comboBox_tflink_meta.setLayoutDirection(QtCore.Qt.LeftToRight) - self.comboBox_tflink_meta.setObjectName("comboBox_tflink_meta") - self.gridLayout_4.addWidget(self.comboBox_tflink_meta, 0, 1, 1, 1) self.horizontalLayout_101 = QtWidgets.QHBoxLayout() self.horizontalLayout_101.setObjectName("horizontalLayout_101") self.label_196 = QtWidgets.QLabel(self.tab_8) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_196.sizePolicy().hasHeightForWidth()) @@ -4666,14 +4678,6 @@ def setupUi(self, metaX_main): self.label_19.setSizePolicy(sizePolicy) self.label_19.setObjectName("label_19") self.gridLayout_4.addWidget(self.label_19, 6, 0, 1, 1) - self.label_149 = QtWidgets.QLabel(self.tab_8) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_149.sizePolicy().hasHeightForWidth()) - self.label_149.setSizePolicy(sizePolicy) - self.label_149.setObjectName("label_149") - self.gridLayout_4.addWidget(self.label_149, 0, 0, 1, 1) self.comboBox_others_taxa = QtWidgets.QComboBox(self.tab_8) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) @@ -4786,6 +4790,26 @@ def setupUi(self, metaX_main): self.gridLayout_tflink_sample.setObjectName("gridLayout_tflink_sample") self.horizontalLayout_118.addLayout(self.gridLayout_tflink_sample) self.gridLayout_4.addLayout(self.horizontalLayout_118, 2, 1, 1, 3) + self.horizontalLayout_123 = QtWidgets.QHBoxLayout() + self.horizontalLayout_123.setObjectName("horizontalLayout_123") + self.label_149 = QtWidgets.QLabel(self.tab_8) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_149.sizePolicy().hasHeightForWidth()) + self.label_149.setSizePolicy(sizePolicy) + self.label_149.setObjectName("label_149") + self.horizontalLayout_123.addWidget(self.label_149) + self.comboBox_tflink_meta = QtWidgets.QComboBox(self.tab_8) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.comboBox_tflink_meta.sizePolicy().hasHeightForWidth()) + self.comboBox_tflink_meta.setSizePolicy(sizePolicy) + self.comboBox_tflink_meta.setLayoutDirection(QtCore.Qt.LeftToRight) + self.comboBox_tflink_meta.setObjectName("comboBox_tflink_meta") + self.horizontalLayout_123.addWidget(self.comboBox_tflink_meta) + self.gridLayout_4.addLayout(self.horizontalLayout_123, 0, 0, 1, 2) self.tabWidget_2.addTab(self.tab_8, "") self.tab_9 = QtWidgets.QWidget() self.tab_9.setObjectName("tab_9") @@ -4865,31 +4889,6 @@ def setupUi(self, metaX_main): self.label_77.setSizePolicy(sizePolicy) self.label_77.setObjectName("label_77") self.gridLayout_6.addWidget(self.label_77, 5, 0, 1, 1) - self.horizontalLayout_9 = QtWidgets.QHBoxLayout() - self.horizontalLayout_9.setObjectName("horizontalLayout_9") - self.label_49 = QtWidgets.QLabel(self.tab_9) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_49.sizePolicy().hasHeightForWidth()) - self.label_49.setSizePolicy(sizePolicy) - self.label_49.setObjectName("label_49") - self.horizontalLayout_9.addWidget(self.label_49) - self.comboBox_tfnet_table = QtWidgets.QComboBox(self.tab_9) - self.comboBox_tfnet_table.setEnabled(False) - self.comboBox_tfnet_table.setObjectName("comboBox_tfnet_table") - self.comboBox_tfnet_table.addItem("") - self.comboBox_tfnet_table.addItem("") - self.comboBox_tfnet_table.addItem("") - self.horizontalLayout_9.addWidget(self.comboBox_tfnet_table) - self.label_150 = QtWidgets.QLabel(self.tab_9) - self.label_150.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.label_150.setObjectName("label_150") - self.horizontalLayout_9.addWidget(self.label_150) - self.comboBox_network_meta = QtWidgets.QComboBox(self.tab_9) - self.comboBox_network_meta.setObjectName("comboBox_network_meta") - self.horizontalLayout_9.addWidget(self.comboBox_network_meta) - self.gridLayout_6.addLayout(self.horizontalLayout_9, 0, 0, 1, 3) self.listWidget_tfnet_focus_list = QtWidgets.QListWidget(self.tab_9) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) @@ -4977,11 +4976,11 @@ def setupUi(self, metaX_main): self.label_217.setSizePolicy(sizePolicy) self.label_217.setObjectName("label_217") self.horizontalLayout_119.addWidget(self.label_217) - self.comboBox_radioButton_network_group_sample = QtWidgets.QComboBox(self.tab_9) - self.comboBox_radioButton_network_group_sample.setObjectName("comboBox_radioButton_network_group_sample") - self.comboBox_radioButton_network_group_sample.addItem("") - self.comboBox_radioButton_network_group_sample.addItem("") - self.horizontalLayout_119.addWidget(self.comboBox_radioButton_network_group_sample) + self.comboBox_network_group_sample = QtWidgets.QComboBox(self.tab_9) + self.comboBox_network_group_sample.setObjectName("comboBox_network_group_sample") + self.comboBox_network_group_sample.addItem("") + self.comboBox_network_group_sample.addItem("") + self.horizontalLayout_119.addWidget(self.comboBox_network_group_sample) self.gridLayout_6.addLayout(self.horizontalLayout_119, 2, 0, 1, 1) self.groupBox_taxa_func_link_net_plot_settings = QtWidgets.QGroupBox(self.tab_9) self.groupBox_taxa_func_link_net_plot_settings.setMaximumSize(QtCore.QSize(16777215, 260)) @@ -5127,6 +5126,44 @@ def setupUi(self, metaX_main): self.gridLayout_network_sample.setObjectName("gridLayout_network_sample") self.horizontalLayout_120.addLayout(self.gridLayout_network_sample) self.gridLayout_6.addLayout(self.horizontalLayout_120, 2, 1, 1, 3) + self.horizontalLayout_9 = QtWidgets.QHBoxLayout() + self.horizontalLayout_9.setObjectName("horizontalLayout_9") + self.label_49 = QtWidgets.QLabel(self.tab_9) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_49.sizePolicy().hasHeightForWidth()) + self.label_49.setSizePolicy(sizePolicy) + self.label_49.setObjectName("label_49") + self.horizontalLayout_9.addWidget(self.label_49) + self.comboBox_tfnet_table = QtWidgets.QComboBox(self.tab_9) + self.comboBox_tfnet_table.setEnabled(False) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.comboBox_tfnet_table.sizePolicy().hasHeightForWidth()) + self.comboBox_tfnet_table.setSizePolicy(sizePolicy) + self.comboBox_tfnet_table.setObjectName("comboBox_tfnet_table") + self.comboBox_tfnet_table.addItem("") + self.comboBox_tfnet_table.addItem("") + self.comboBox_tfnet_table.addItem("") + self.horizontalLayout_9.addWidget(self.comboBox_tfnet_table) + self.gridLayout_6.addLayout(self.horizontalLayout_9, 0, 0, 1, 2) + self.horizontalLayout_122 = QtWidgets.QHBoxLayout() + self.horizontalLayout_122.setObjectName("horizontalLayout_122") + self.label_150 = QtWidgets.QLabel(self.tab_9) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.label_150.sizePolicy().hasHeightForWidth()) + self.label_150.setSizePolicy(sizePolicy) + self.label_150.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) + self.label_150.setObjectName("label_150") + self.horizontalLayout_122.addWidget(self.label_150) + self.comboBox_network_meta = QtWidgets.QComboBox(self.tab_9) + self.comboBox_network_meta.setObjectName("comboBox_network_meta") + self.horizontalLayout_122.addWidget(self.comboBox_network_meta) + self.gridLayout_6.addLayout(self.horizontalLayout_122, 0, 2, 1, 1) self.tabWidget_2.addTab(self.tab_9, "") self.gridLayout_19.addWidget(self.tabWidget_2, 0, 0, 1, 1) self.tabWidget_TaxaFuncAnalyzer.addTab(self.tab_others_stats, "") @@ -5677,8 +5714,8 @@ def setupUi(self, metaX_main): self.tabWidget_TaxaFuncAnalyzer.setCurrentIndex(5) self.toolBox_2.setCurrentIndex(0) self.tabWidget_4.setCurrentIndex(1) - self.tabWidget_3.setCurrentIndex(0) - self.tabWidget.setCurrentIndex(0) + self.tabWidget_3.setCurrentIndex(3) + self.tabWidget.setCurrentIndex(1) self.tabWidget_2.setCurrentIndex(1) self.tabWidget_6.setCurrentIndex(0) self.toolBox_metalab_res_anno.setCurrentIndex(0) @@ -6182,12 +6219,6 @@ def retranslateUi(self, metaX_main): self.label_187.setText(_translate("metaX_main", "General")) self.label_188.setText(_translate("metaX_main", "Network")) self.checkBox_co_expr_plot_list_only.setText(_translate("metaX_main", "Plot List Only")) - self.label_29.setText(_translate("metaX_main", "Table")) - self.comboBox_co_expr_table.setItemText(0, _translate("metaX_main", "Taxa")) - self.comboBox_co_expr_table.setItemText(1, _translate("metaX_main", "Functions")) - self.comboBox_co_expr_table.setItemText(2, _translate("metaX_main", "Taxa-Functions")) - self.comboBox_co_expr_table.setItemText(3, _translate("metaX_main", "Peptides")) - self.label_143.setText(_translate("metaX_main", "Meta")) self.label_72.setText(_translate("metaX_main", "Select Focus")) self.pushButton_co_expr_add_top.setToolTip(_translate("metaX_main", "Add conditionally filtered items to the drawing box")) self.pushButton_co_expr_add_top.setText(_translate("metaX_main", "Add Top to List")) @@ -6207,10 +6238,22 @@ def retranslateUi(self, metaX_main): self.comboBox_co_expr_top_by.setItemText(9, _translate("metaX_main", "Deseq2-up(log2FC)")) self.comboBox_co_expr_top_by.setItemText(10, _translate("metaX_main", "Deseq2-down(log2FC)")) self.checkBox_co_expr_top_filtered.setText(_translate("metaX_main", "Filter with threshold")) + self.label_29.setText(_translate("metaX_main", "Table")) + self.comboBox_co_expr_table.setItemText(0, _translate("metaX_main", "Taxa")) + self.comboBox_co_expr_table.setItemText(1, _translate("metaX_main", "Functions")) + self.comboBox_co_expr_table.setItemText(2, _translate("metaX_main", "Taxa-Functions")) + self.comboBox_co_expr_table.setItemText(3, _translate("metaX_main", "Peptides")) + self.label_143.setText(_translate("metaX_main", "Meta")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("metaX_main", "Co-Expression")) - self.label_215.setText(_translate("metaX_main", "Select")) - self.comboBox_trends_group_sample.setItemText(0, _translate("metaX_main", "Group")) - self.comboBox_trends_group_sample.setItemText(1, _translate("metaX_main", "Sample")) + self.label_93.setText(_translate("metaX_main", "Select Cluster")) + self.pushButton_trends_get_trends_table.setText(_translate("metaX_main", "Get ClusterTable")) + self.label_165.setText(_translate("metaX_main", "Plot Specific Cluster")) + self.label_95.setText(_translate("metaX_main", "Cluster Number")) + self.pushButton_trends_plot_trends.setText(_translate("metaX_main", "Plot Trends")) + self.pushButton_trends_plot_interactive_line.setText(_translate("metaX_main", "Plot Interactive Line")) + self.label_145.setText(_translate("metaX_main", "Calculate Cluster")) + self.checkBox_5.setText(_translate("metaX_main", "Show Plotting Parameter")) + self.checkBox_trends_in_condition.setText(_translate("metaX_main", "In Condition")) self.groupBox_expression_trends_plot_settings.setTitle(_translate("metaX_main", "Plotting Parameter")) self.checkBox_trends_plot_interactive_rename_taxa.setText(_translate("metaX_main", "Simplify Taxa Names")) self.checkBox_trends_plot_interactive_plot_samples.setText(_translate("metaX_main", "Plot Samples")) @@ -6222,7 +6265,13 @@ def retranslateUi(self, metaX_main): self.label_92.setText(_translate("metaX_main", "Height")) self.label_158.setText(_translate("metaX_main", "Font Size")) self.label_195.setText(_translate("metaX_main", "Number of Col for Cluster Plot")) - self.checkBox_trends_in_condition.setText(_translate("metaX_main", "In Condition")) + self.pushButton_trends_add_top.setToolTip(_translate("metaX_main", "Add conditionally filtered items to the drawing box")) + self.pushButton_trends_add_top.setText(_translate("metaX_main", "Add Top to List")) + self.pushButton_trends_drop_item.setText(_translate("metaX_main", "Drop Item")) + self.pushButton_trends_clean_list.setText(_translate("metaX_main", "Clean List")) + self.pushButton_trends_add_a_list.setToolTip(_translate("metaX_main", "Add a list to the drawing box, make sure there is one item per line.")) + self.pushButton_trends_add_a_list.setText(_translate("metaX_main", "Add A list")) + self.label_100.setText(_translate("metaX_main", "Select for plotting")) self.pushButton_trends_add.setToolTip(_translate("metaX_main", "Add selected item to the drawing box")) self.pushButton_trends_add.setText(_translate("metaX_main", "Add to List")) self.label_99.setText(_translate("metaX_main", "Select Top")) @@ -6239,27 +6288,15 @@ def retranslateUi(self, metaX_main): self.comboBox_trends_top_by.setItemText(9, _translate("metaX_main", "Deseq2-up(log2FC)")) self.comboBox_trends_top_by.setItemText(10, _translate("metaX_main", "Deseq2-down(log2FC)")) self.checkBox_trends_top_filtered.setText(_translate("metaX_main", "Filter with threshold")) - self.label_100.setText(_translate("metaX_main", "Select for plotting")) + self.label_215.setText(_translate("metaX_main", "Select")) + self.comboBox_trends_group_sample.setItemText(0, _translate("metaX_main", "Group")) + self.comboBox_trends_group_sample.setItemText(1, _translate("metaX_main", "Sample")) self.label_96.setText(_translate("metaX_main", "Table")) self.comboBox_trends_table.setItemText(0, _translate("metaX_main", "Taxa")) self.comboBox_trends_table.setItemText(1, _translate("metaX_main", "Functions")) self.comboBox_trends_table.setItemText(2, _translate("metaX_main", "Taxa-Functions")) self.comboBox_trends_table.setItemText(3, _translate("metaX_main", "Peptides")) self.label_148.setText(_translate("metaX_main", "Meta")) - self.pushButton_trends_add_top.setToolTip(_translate("metaX_main", "Add conditionally filtered items to the drawing box")) - self.pushButton_trends_add_top.setText(_translate("metaX_main", "Add Top to List")) - self.label_93.setText(_translate("metaX_main", "Select Cluster")) - self.pushButton_trends_get_trends_table.setText(_translate("metaX_main", "Get ClusterTable")) - self.label_165.setText(_translate("metaX_main", "Plot Specific Cluster")) - self.label_95.setText(_translate("metaX_main", "Cluster Number")) - self.pushButton_trends_plot_trends.setText(_translate("metaX_main", "Plot Trends")) - self.pushButton_trends_plot_interactive_line.setText(_translate("metaX_main", "Plot Interactive Line")) - self.label_145.setText(_translate("metaX_main", "Calculate Cluster")) - self.checkBox_5.setText(_translate("metaX_main", "Show Plotting Parameter")) - self.pushButton_trends_drop_item.setText(_translate("metaX_main", "Drop Item")) - self.pushButton_trends_clean_list.setText(_translate("metaX_main", "Clean List")) - self.pushButton_trends_add_a_list.setToolTip(_translate("metaX_main", "Add a list to the drawing box, make sure there is one item per line.")) - self.pushButton_trends_add_a_list.setText(_translate("metaX_main", "Add A list")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_15), _translate("metaX_main", "Expression Trends")) self.tabWidget_TaxaFuncAnalyzer.setTabText(self.tabWidget_TaxaFuncAnalyzer.indexOf(self.tab_diff_stats), _translate("metaX_main", "Expression Analysis")) self.pushButton_others_plot_heatmap.setText(_translate("metaX_main", "Plot Heatmap")) @@ -6302,7 +6339,6 @@ def retranslateUi(self, metaX_main): self.label_others_func_num.setText(_translate("metaX_main", "Linked Number: -")) self.pushButton_others_show_linked_taxa.setText(_translate("metaX_main", "Show Linked Taxa Only")) self.label_19.setText(_translate("metaX_main", "Taxa")) - self.label_149.setText(_translate("metaX_main", "Meta")) self.label_75.setText(_translate("metaX_main", "Filter Top")) self.label_76.setText(_translate("metaX_main", "By")) self.comboBox_tflink_top_by.setItemText(0, _translate("metaX_main", "Total Intensity")) @@ -6320,6 +6356,7 @@ def retranslateUi(self, metaX_main): self.pushButton_tflink_filter.setToolTip(_translate("metaX_main", "Filter items in the two lists by condition")) self.pushButton_tflink_filter.setText(_translate("metaX_main", "Filter")) self.checkBox_tflink_in_condition.setText(_translate("metaX_main", "In Condition")) + self.label_149.setText(_translate("metaX_main", "Meta")) self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab_8), _translate("metaX_main", "Taxa-Func Link")) self.label_78.setText(_translate("metaX_main", "Select Top")) self.label_79.setText(_translate("metaX_main", "Sort by")) @@ -6337,11 +6374,6 @@ def retranslateUi(self, metaX_main): self.checkBox_tfnet_top_filtered.setText(_translate("metaX_main", "Filter with threshold")) self.checkBox_7.setText(_translate("metaX_main", "Show Parameter")) self.label_77.setText(_translate("metaX_main", "Focus List")) - self.label_49.setText(_translate("metaX_main", "Table")) - self.comboBox_tfnet_table.setItemText(0, _translate("metaX_main", "Taxa")) - self.comboBox_tfnet_table.setItemText(1, _translate("metaX_main", "Functions")) - self.comboBox_tfnet_table.setItemText(2, _translate("metaX_main", "Taxa-Functions")) - self.label_150.setText(_translate("metaX_main", "Meta")) self.pushButton_tfnet_add_to_list.setToolTip(_translate("metaX_main", "Add selected item to the drawing box")) self.pushButton_tfnet_add_to_list.setText(_translate("metaX_main", "Add to Focus List")) self.pushButton_plot_network.setText(_translate("metaX_main", "Plot Ntework")) @@ -6352,8 +6384,8 @@ def retranslateUi(self, metaX_main): self.pushButton_tfnet_add_top.setToolTip(_translate("metaX_main", "Add conditionally filtered items to the drawing box")) self.pushButton_tfnet_add_top.setText(_translate("metaX_main", "Add Top to List")) self.label_217.setText(_translate("metaX_main", "Select")) - self.comboBox_radioButton_network_group_sample.setItemText(0, _translate("metaX_main", "Group")) - self.comboBox_radioButton_network_group_sample.setItemText(1, _translate("metaX_main", "Sample")) + self.comboBox_network_group_sample.setItemText(0, _translate("metaX_main", "Group")) + self.comboBox_network_group_sample.setItemText(1, _translate("metaX_main", "Sample")) self.groupBox_taxa_func_link_net_plot_settings.setTitle(_translate("metaX_main", "Plotting Parameter")) self.label_50.setText(_translate("metaX_main", "Width")) self.label_51.setText(_translate("metaX_main", "Height")) @@ -6363,6 +6395,11 @@ def retranslateUi(self, metaX_main): self.checkBox_tf_link_net_rename_taxa.setText(_translate("metaX_main", "Raname Taxa")) self.label_163.setText(_translate("metaX_main", "Font Size")) self.checkBox_tfnetwork_in_condition.setText(_translate("metaX_main", "In Condition")) + self.label_49.setText(_translate("metaX_main", "Table")) + self.comboBox_tfnet_table.setItemText(0, _translate("metaX_main", "Taxa")) + self.comboBox_tfnet_table.setItemText(1, _translate("metaX_main", "Functions")) + self.comboBox_tfnet_table.setItemText(2, _translate("metaX_main", "Taxa-Functions")) + self.label_150.setText(_translate("metaX_main", "Meta")) self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab_9), _translate("metaX_main", "Taxa-Func Network")) self.tabWidget_TaxaFuncAnalyzer.setTabText(self.tabWidget_TaxaFuncAnalyzer.indexOf(self.tab_others_stats), _translate("metaX_main", "Taxa-Func Link")) self.pushButton_view_table.setText(_translate("metaX_main", "View Table")) diff --git a/metax/utils/version.py b/metax/utils/version.py index 3dce8db..7bdb37c 100644 --- a/metax/utils/version.py +++ b/metax/utils/version.py @@ -1,2 +1,2 @@ -__version__ = '1.119.4' +__version__ = '1.119.5' API_version = '4' \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 896d1e3..2f31c1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "MetaXTools" -version = "1.119.4" +version = "1.119.5" description = "MetaXTools is a novel tool for linking peptide sequences with taxonomic and functional information in Metaproteomics." readme = "README_PyPi.md" license = { text = "NorthOmics" }