Package net.sf.mzmine.modules.visualization.spectra

Examples of net.sf.mzmine.modules.visualization.spectra.SpectraVisualizerWindow


    if (command.equals("SHOW_MASSLIST")) {
      MassList selectedMassLists[] = tree
          .getSelectedObjects(MassList.class);
      for (MassList massList : selectedMassLists) {
        Scan scan = massList.getScan();
        SpectraVisualizerWindow window = SpectraVisualizerModule
            .showNewSpectrumWindow(scan.getDataFile(),
                scan.getScanNumber());
        MassListDataSet dataset = new MassListDataSet(massList);
        window.addDataSet(dataset, Color.green);
      }
    }

    if (command.equals("REMOVE_MASSLIST")) {
      MassList selectedMassLists[] = tree
View Full Code Here


      int msmsScanNumber = bestPeak.getMostIntenseFragmentScanNumber();

      if (msmsScanNumber < 1)
        return;

      SpectraVisualizerWindow msmsPlot = SpectraVisualizerModule
          .showNewSpectrumWindow(dataFile, msmsScanNumber);

      if (msmsPlot == null)
        return;
      Map<DataPoint, String> annotation = formula.getMSMSannotation();

      if (annotation == null)
        return;
      msmsPlot.addAnnotation(annotation);

    }

  }
View Full Code Here

    }

    if (clickedObject instanceof MassList) {
      MassList clickedMassList = (MassList) clickedObject;
      Scan clickedScan = clickedMassList.getScan();
      SpectraVisualizerWindow window = SpectraVisualizerModule
          .showNewSpectrumWindow(clickedScan.getDataFile(),
              clickedScan.getScanNumber());
      MassListDataSet dataset = new MassListDataSet(clickedMassList);
      window.addDataSet(dataset, Color.green);
    }

    if (clickedObject instanceof PeakListRow) {
      PeakListRow clickedPeak = (PeakListRow) clickedObject;
      PeakSummaryVisualizerModule.showNewPeakSummaryWindow(clickedPeak);
View Full Code Here

TOP

Related Classes of net.sf.mzmine.modules.visualization.spectra.SpectraVisualizerWindow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.