Package net.sf.mzmine.data.impl

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


      // Find the best fragmentation scan, if available
      int fragmentScan = ScanUtils.findBestFragmentScan(rawDataFile,
          finalRTRange, finalMZRange);

      SimpleChromatographicPeak newPeak = new SimpleChromatographicPeak(
          rawDataFile, mz, rt, height, area, scanNumbers,
          finalDataPoint, PeakStatus.ESTIMATED, representativeScan,
          fragmentScan, finalRTRange, finalMZRange,
          finalIntensityRange);
View Full Code Here


    // Set normalized retention time to all peaks in this row
    for (RawDataFile file : originalRow.getRawDataFiles()) {
      ChromatographicPeak originalPeak = originalRow.getPeak(file);
      if (originalPeak != null) {
        SimpleChromatographicPeak normalizedPeak = new SimpleChromatographicPeak(
            originalPeak);
        PeakUtils.copyPeakProperties(originalPeak, normalizedPeak);
        normalizedPeak.setRT(normalizedRT);
        normalizedRow.addPeak(file, normalizedPeak);
      }
    }

    return normalizedRow;
View Full Code Here

        ChromatographicPeak originalPeak = originalpeakListRow
            .getPeak(file);
        if (originalPeak != null) {

          SimpleChromatographicPeak normalizedPeak = new SimpleChromatographicPeak(
              originalPeak);
          PeakUtils.copyPeakProperties(originalPeak, normalizedPeak);

          double normalizedHeight = originalPeak.getHeight()
              / normalizationFactor;
          double normalizedArea = originalPeak.getArea()
              / normalizationFactor;
          normalizedPeak.setHeight(normalizedHeight);
          normalizedPeak.setArea(normalizedArea);

          SimplePeakListRow normalizedRow = rowMap
              .get(originalpeakListRow);

          if (normalizedRow == null) {
View Full Code Here

TOP

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

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.