Beispiel #1
0
        private void btn_buildSelectedFamilies_Click(object sender, RoutedEventArgs e)
        {
            string time_stamp = Sweet.time_stamp();

            tb_recentTimeStamp.Text = time_stamp;
            object[] selected = DisplayUtility.get_selected_objects(dgv_main);
            string   message  = CytoscapeScript.write_cytoscape_script(selected, Sweet.lollipop.target_proteoform_community.families,
                                                                       Sweet.lollipop.family_build_folder_path, "", time_stamp,
                                                                       (bool)cb_buildAsQuantitative.IsChecked ? (this.MDIParent as ProteoformSweet).resultsSummary.get_go_analysis() : null, (bool)cb_redBorder.IsChecked, (bool)cb_boldLabel.IsChecked,
                                                                       "Smarties", cmbx_edgeLabel.SelectedItem.ToString(), cmbx_nodeLabel.SelectedItem.ToString(), cmbx_nodeLabelPositioning.SelectedItem.ToString(), cmbx_nodeLayout.SelectedItem.ToString(), Sweet.lollipop.deltaM_edge_display_rounding,
                                                                       (bool)cb_geneCentric.IsChecked, cmbx_geneLabel.SelectedItem.ToString());

            MessageBox.Show(message, "Cytoscape Build");
        }