Package net.sf.mzmine.modules.visualization.tic

Examples of net.sf.mzmine.modules.visualization.tic.TICDataSet


    // First, remove all current data sets
    ticPlot.removeAllTICDataSets();

    // Add the original raw data file
    int scanNumbers[] = dataFile.getScanNumbers(1, rtRange);
    TICDataSet ticDataset = new TICDataSet(dataFile, scanNumbers, mzRange,
        null);
    ticPlot.addTICDataset(ticDataset);

    try {
      // Create a new filtered raw data file
      RawDataFileWriter rawDataFileWriter = MZmineCore
          .createNewFile(dataFile.getName() + " filtered");
      RawDataFile newDataFile = rawDataFilter.filterDatafile(dataFile,
          rawDataFileWriter, filterParameters);

      // If successful, add the new data file
      if (newDataFile != null) {
        int newScanNumbers[] = newDataFile.getScanNumbers(1, rtRange);
        TICDataSet newDataset = new TICDataSet(newDataFile,
            newScanNumbers, mzRange, null);
        ticPlot.addTICDataset(newDataset);
      }

    } catch (IOException e) {
View Full Code Here

TOP

Related Classes of net.sf.mzmine.modules.visualization.tic.TICDataSet

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.