Package net.sf.mzmine.data.impl

Examples of net.sf.mzmine.data.impl.SimplePeakList


        allDataFiles.add(dataFile);
      }
    }

    // Create a new aligned peak list
    alignedPeakList = new SimplePeakList(peakListName,
        allDataFiles.toArray(new RawDataFile[0]));

    // Iterate source peak lists
    for (PeakList peakList : peakLists) {
View Full Code Here


    // We assume source peakList contains one datafile
    RawDataFile dataFile = peakList.getRawDataFile(0);

    // Create a new deisotoped peakList
    extendedPeakList = new SimplePeakList(peakList + " " + suffix,
        peakList.getRawDataFiles());

    // Sort peaks by descending height
    ChromatographicPeak[] sortedPeaks = peakList.getPeaks(dataFile);
    Arrays.sort(sortedPeaks, new PeakSorter(SortingProperty.Height,
View Full Code Here

    totalRows = originalPeakLists[0].getNumberOfRows();

    // Create new peak lists
    normalizedPeakLists = new SimplePeakList[originalPeakLists.length];
    for (int i = 0; i < originalPeakLists.length; i++) {
      normalizedPeakLists[i] = new SimplePeakList(originalPeakLists[i]
          + " " + suffix, originalPeakLists[i].getRawDataFiles());

      // Remember how many rows we need to normalize
      totalRows += originalPeakLists[i].getNumberOfRows();
View Full Code Here

    // This hashtable maps rows from original alignment result to rows of
    // the normalized alignment
    Hashtable<PeakListRow, SimplePeakListRow> rowMap = new Hashtable<PeakListRow, SimplePeakListRow>();

    // Create new peak list
    normalizedPeakList = new SimplePeakList(
        originalPeakList + " " + suffix,
        originalPeakList.getRawDataFiles());

    // Loop through all raw data files, and find the peak with biggest
    // height
View Full Code Here

        allDataFiles.add(dataFile);
      }
    }

    // Create a new aligned peak list
    alignedPeakList = new SimplePeakList(peakListName,
        allDataFiles.toArray(new RawDataFile[0]));

    // Iterate source peak lists
    for (PeakList peakList : peakLists) {
View Full Code Here

TOP

Related Classes of net.sf.mzmine.data.impl.SimplePeakList

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.