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

Examples of net.sf.mzmine.modules.visualization.spectra.datasets.DataPointsDataSet


      return;

    DataPoint[] mzValues = massDetector.getMassValues(previewScan,
        parameters);

    DataPointsDataSet peaksDataSet = new DataPointsDataSet(
        "Detected peaks", mzValues);

    spectrumPlot.addDataSet(peaksDataSet,
        SpectraVisualizerWindow.peaksColor, false);
View Full Code Here


    removedPeaks.addAll(Arrays.asList(mzValues));
    removedPeaks.removeAll(Arrays.asList(remainingMzValues));
    DataPoint removedMzValues[] = removedPeaks.toArray(new DataPoint[0]);

    // Add mass list data sets
    DataPointsDataSet removedPeaksDataSet = new DataPointsDataSet(
        "Removed peaks", removedMzValues);
    DataPointsDataSet remainingPeaksDataSet = new DataPointsDataSet(
        "Remaining peaks", remainingMzValues);

    spectrumPlot.addDataSet(removedPeaksDataSet, removedPeaksColor, false);
    spectrumPlot.addDataSet(remainingPeaksDataSet,
        SpectraVisualizerWindow.peaksColor, false);
View Full Code Here

TOP

Related Classes of net.sf.mzmine.modules.visualization.spectra.datasets.DataPointsDataSet

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.