Search in sources :

Example 21 with PeakListAppliedMethod

use of net.sf.mzmine.datamodel.PeakList.PeakListAppliedMethod in project mzmine2 by mzmine.

the class IsotopePeakScannerTask method addResultToProject.

/**
 * Add feature list to project, delete old if requested, add description to result
 */
public void addResultToProject() {
    // Add new peakList to the project
    project.addPeakList(resultPeakList);
    // Load previous applied methods
    for (PeakListAppliedMethod proc : peakList.getAppliedMethods()) {
        resultPeakList.addDescriptionOfAppliedTask(proc);
    }
    // Add task description to peakList
    resultPeakList.addDescriptionOfAppliedTask(new SimplePeakListAppliedMethod("IsotopePeakScanner", parameters));
}
Also used : SimplePeakListAppliedMethod(net.sf.mzmine.datamodel.impl.SimplePeakListAppliedMethod) PeakListAppliedMethod(net.sf.mzmine.datamodel.PeakList.PeakListAppliedMethod) SimplePeakListAppliedMethod(net.sf.mzmine.datamodel.impl.SimplePeakListAppliedMethod)

Aggregations

PeakListAppliedMethod (net.sf.mzmine.datamodel.PeakList.PeakListAppliedMethod)21 SimplePeakListAppliedMethod (net.sf.mzmine.datamodel.impl.SimplePeakListAppliedMethod)20 SimplePeakList (net.sf.mzmine.datamodel.impl.SimplePeakList)14 RawDataFile (net.sf.mzmine.datamodel.RawDataFile)13 PeakListRow (net.sf.mzmine.datamodel.PeakListRow)12 SimplePeakListRow (net.sf.mzmine.datamodel.impl.SimplePeakListRow)11 Feature (net.sf.mzmine.datamodel.Feature)10 DataPoint (net.sf.mzmine.datamodel.DataPoint)8 SimpleFeature (net.sf.mzmine.datamodel.impl.SimpleFeature)7 SimpleDataPoint (net.sf.mzmine.datamodel.impl.SimpleDataPoint)5 PeakList (net.sf.mzmine.datamodel.PeakList)4 Vector (java.util.Vector)2 PeakSorter (net.sf.mzmine.util.PeakSorter)2 Range (com.google.common.collect.Range)1 Date (java.util.Date)1 Hashtable (java.util.Hashtable)1 Transformer (javax.xml.transform.Transformer)1 SAXTransformerFactory (javax.xml.transform.sax.SAXTransformerFactory)1 TransformerHandler (javax.xml.transform.sax.TransformerHandler)1 StreamResult (javax.xml.transform.stream.StreamResult)1