Package net.sf.mzmine.data

Examples of net.sf.mzmine.data.PeakList


  }

  public synchronized PeakList[] getPeakLists() {
    int childrenCount = getChildCount(peakListsNode);
    PeakList result[] = new PeakList[childrenCount];
    for (int j = 0; j < childrenCount; j++) {
      DefaultMutableTreeNode child = (DefaultMutableTreeNode) getChild(
          peakListsNode, j);
      result[j] = (PeakList) child.getUserObject();
    }
View Full Code Here


    if (object instanceof RawDataFile) {
      RawDataFile df = (RawDataFile) object;
      df.setName(newName);
    }
    if (object instanceof PeakList) {
      PeakList pl = (PeakList) object;
      pl.setName(newName);
    }
  }
View Full Code Here

  @Override
  @Nonnull
  public ExitCode runModule(@Nonnull ParameterSet parameters,
      @Nonnull Collection<Task> tasks) {

    PeakList peakLists[] = parameters.getParameter(
        ScatterPlotParameters.peakLists).getValue();

    PeakList peakList = peakLists[0];
    if (peakList.getNumberOfRawDataFiles() < 2) {
      MZmineCore
          .getDesktop()
          .displayErrorMessage(
              "There is only one raw data file in the selected "
                  + "peak list, it is necessary at least two for comparison");
View Full Code Here

    }

    if (command.equals("REMOVE_FILE")) {
      RawDataFile[] selectedFiles = tree
          .getSelectedObjects(RawDataFile.class);
      PeakList allPeakLists[] = MZmineCore.getCurrentProject()
          .getPeakLists();
      for (RawDataFile file : selectedFiles) {
        for (PeakList peakList : allPeakLists) {
          if (peakList.hasRawDataFile(file)) {
            String msg = "Cannot remove file " + file.getName()
View Full Code Here

      RawDataFile clickedFile = (RawDataFile) clickedObject;
      TICVisualizerModule.setupNewTICVisualizer(clickedFile);
    }

    if (clickedObject instanceof PeakList) {
      PeakList clickedPeakList = (PeakList) clickedObject;
      PeakListTableModule
          .showNewPeakListVisualizerWindow(clickedPeakList);
    }

    if (clickedObject instanceof Scan) {
View Full Code Here

  @Override
  @Nonnull
  public ExitCode runModule(@Nonnull ParameterSet parameters,
      @Nonnull Collection<Task> tasks) {

    PeakList peakLists[] = parameters.getParameter(
        ShapeModelerParameters.peakLists).getValue();

    for (final PeakList peakList : peakLists) {
      Task newTask = new ShapeModelerTask(peakList, parameters);
      tasks.add(newTask);
View Full Code Here

  @Override
  @Nonnull
  public ExitCode runModule(@Nonnull ParameterSet parameters,
      @Nonnull Collection<Task> tasks) {
    PeakList peakLists[] = parameters.getParameter(
        SmoothingParameters.peakLists).getValue();

    for (final PeakList peakList : peakLists) {
      Task newTask = new SmoothingTask(peakList, parameters);
      tasks.add(newTask);
View Full Code Here

  @Override
  @Nonnull
  public ExitCode runModule(@Nonnull ParameterSet parameters,
      @Nonnull Collection<Task> tasks) {

    PeakList peakLists[] = parameters.getParameter(
        CameraSearchParameters.PEAK_LISTS).getValue();

    for (PeakList peakList : peakLists) {
      Task newTask = new CameraSearchTask(parameters, peakList);
      tasks.add(newTask);
View Full Code Here

  @Override
  @Nonnull
  public ExitCode runModule(@Nonnull ParameterSet parameters,
      @Nonnull Collection<Task> tasks) {

    PeakList peakLists[] = parameters.getParameter(
        ComplexSearchParameters.peakLists).getValue();

    for (PeakList peakList : peakLists) {
      Task newTask = new ComplexSearchTask(parameters, peakList);
      tasks.add(newTask);
View Full Code Here

  }

  @Override
  public ExitCode showSetupDialog() {

    PeakList selectedPeakList[] = getParameter(peakLists).getValue();

    RawDataFile dataFileChoices[];

    if ((selectedPeakList != null) && (selectedPeakList.length == 1)) {
      dataFileChoices = selectedPeakList[0].getRawDataFiles();
View Full Code Here

TOP

Related Classes of net.sf.mzmine.data.PeakList

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.