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);
}
}
Aggregations