Search in sources :

Example 1 with DPPResultsLabelGenerator

use of net.sf.mzmine.modules.visualization.spectra.simplespectra.datapointprocessing.datamodel.results.DPPResultsLabelGenerator in project mzmine2 by mzmine.

the class DPPSumFormulaPredictionTask method displayResults.

@Override
public void displayResults() {
    if (displayResults || getController().isLastTaskRunning()) {
        SpectraPlotUtils.clearDatasetLabelGenerators(getTargetPlot(), DPPResultsDataSet.class);
        DPPResultsLabelGenerator labelGen = new DPPResultsLabelGenerator(getTargetPlot());
        getTargetPlot().addDataSet(new DPPResultsDataSet("Sum formula prediction results (" + getResults().length + ")", getResults()), color, false, labelGen);
    }
}
Also used : DPPResultsDataSet(net.sf.mzmine.modules.visualization.spectra.simplespectra.datapointprocessing.datamodel.results.DPPResultsDataSet) DPPResultsLabelGenerator(net.sf.mzmine.modules.visualization.spectra.simplespectra.datapointprocessing.datamodel.results.DPPResultsLabelGenerator)

Aggregations

DPPResultsDataSet (net.sf.mzmine.modules.visualization.spectra.simplespectra.datapointprocessing.datamodel.results.DPPResultsDataSet)1 DPPResultsLabelGenerator (net.sf.mzmine.modules.visualization.spectra.simplespectra.datapointprocessing.datamodel.results.DPPResultsLabelGenerator)1