private void RunAssociationRulesMining() { TypeOfPreferrence typeOfPreferrence = TypeOfPreferrence.Both_PositiveAndNegativePreferrence; if (rdoPositive.Checked == true) { typeOfPreferrence = TypeOfPreferrence.PositivePreferrence; } else if (rdoNegative.Checked == true) { typeOfPreferrence = TypeOfPreferrence.NegativePreferrence; } else if (rdoBoth.Checked == true) { typeOfPreferrence = TypeOfPreferrence.Both_PositiveAndNegativePreferrence; } float supportlevel = float.Parse(txtMinSupportLevel.Text); MAPresApplication.Workspace.PerformAssociationRulesMining(OnAssociationRuleMiningProgress, typeOfPreferrence, supportlevel, false); MAPResDatasetViewer dtw = new MAPResDatasetViewer(); dtw.ShowAllAssociationRules(); Dispose(); }
private void primaryDatasetUniversalSitesDatasetToolStripMenuItem_Click(object sender, EventArgs e) { if (MAPresApplication.Workspace.ProjectOpen == false) { MessageBox.Show(this, "Please open or create new project", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } dsViewerWnd = new MAPResDatasetViewer(); dsViewerWnd.ShowUSD(); }
private void associationRulesToolStripMenuItem_Click(object sender, EventArgs e) { if (MAPresApplication.Workspace.ProjectOpen == false) { MessageBox.Show(this, "Please open or create new project", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } MAPResDatasetViewer dtw = new MAPResDatasetViewer(); dtw.ShowAllAssociationRules(); }
private void ShowAllPreferrenceEstimationTables() { if (cmbTargetsOfStudy.Text == "") { MessageBox.Show(this, "Select Modification Site", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } MAPResDatasetViewer dtw = new MAPResDatasetViewer(); dtw.ShowCombinedResults(); dtw = new MAPResDatasetViewer(); dtw.ShowCountPerAminoAcid(); dtw = new MAPResDatasetViewer(); dtw.ShowDeviationParameters(); dtw = new MAPResDatasetViewer(); dtw.ShowDOEC(); dtw = new MAPResDatasetViewer(); dtw.ShowExpectedFrequency(); dtw = new MAPResDatasetViewer(); dtw.ShowObservedCount(); dtw = new MAPResDatasetViewer(); dtw.ShowObservedCount(); dtw = new MAPResDatasetViewer(); dtw.ShowObservedFrequency(); dtw = new MAPResDatasetViewer(); dtw.ShowPercentageExpectedFrequency(); dtw = new MAPResDatasetViewer(); dtw.ShowPercentageObservedFrequency(); dtw = new MAPResDatasetViewer(); dtw.ShowPreferredSites(); dtw = new MAPResDatasetViewer(); dtw.ShowS_PreferredSites(); dtw = new MAPResDatasetViewer(); dtw.ShowSigma(); }
private void sitesDataSetToolStripMenuItem_Click(object sender, EventArgs e) { if (MAPresApplication.Workspace.ProjectOpen == false) { MessageBox.Show(this, "Please open or create new project", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } if (cmbTargetsOfStudy.Text == "") { MessageBox.Show(this, "Select Modification Site", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } if (MAPresApplication.Workspace.SubjectsHash.ContainsKey(cmbTargetsOfStudy.Text) == false) { MessageBox.Show(this, "Selected Modification Site is not a valid", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } dsViewerWnd = new MAPResDatasetViewer(); dsViewerWnd.ShowSiteDataSet(); }
private void tbtnViewListofModificationSitewithS_PreferredSites_Click(object sender, EventArgs e) { if (MAPresApplication.Workspace.ProjectOpen == false) { MessageBox.Show(this, "Please open or create new project", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } DataTable dtSummary = null; PreferrenceEstimationSummaryManagerWnd smwnd = new PreferrenceEstimationSummaryManagerWnd(); smwnd.MdiParent = this; smwnd.Show(); dtSummary = smwnd.CreateSummary(); smwnd.Close(); smwnd.Dispose(); smwnd = null; MAPResDatasetViewer dtw = new MAPResDatasetViewer(); dtw.ShowDataTable(dtSummary, "Preferrence Estimation Summary"); }
private void observedFrequencyToolStripMenuItem1_Click(object sender, EventArgs e) { if (MAPresApplication.Workspace.ProjectOpen == false) { MessageBox.Show(this, "Please open or create new project", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } if (cmbTargetsOfStudy.Text == "") { MessageBox.Show(this, "Select Modification Site", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } if (MAPresApplication.Workspace.SubjectsHash.ContainsKey(cmbTargetsOfStudy.Text) == false) { MessageBox.Show(this, "Select Modification Site is not a valid", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } MAPResDatasetViewer dtw = new MAPResDatasetViewer(); dtw.ShowPercentageObservedFrequency(); }
private void toolStripButton1_Click(object sender, EventArgs e) { //Combined all results of all modification sites into single table if (MAPresApplication.Workspace.ProjectOpen == false) { MessageBox.Show(this, "Please open or create new project", "IMSB MAPRes", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } DataTable dtCombined = null; PreferrenceEstimationSummaryManagerWnd smwnd = new PreferrenceEstimationSummaryManagerWnd(); smwnd.MdiParent = this; smwnd.Show(); dtCombined = smwnd.CreateCombinedPreferrenceEstimationResultSet(); smwnd.Close(); smwnd.Dispose(); smwnd = null; MAPResDatasetViewer dtw = new MAPResDatasetViewer(); dtw.ShowDataTable(dtCombined, "All Modification Site's Preferrence Estimation Result"); }