Exemplo n.º 1
0
 /** delete this fit */
 private void delete() {
   RInterface rInterface = RInterfaceFactory.getRInterfaceInstance();
   rInterface.insertComment("Deleting fit result");
   rInterface.evaluateCommand(
       "rm(" + this.getFitQtlResult().getAccessorExpressionString() + ")");
   QtlProjectManager projectManager = QtlProjectTree.this.getProjectManager();
   projectManager.notifyActiveProjectModified();
   projectManager.refreshProjectDataStructures();
 }
Exemplo n.º 2
0
    /** Delete this cross */
    private void delete() {
      RInterface rInterface = RInterfaceFactory.getRInterfaceInstance();
      rInterface.insertComment("Deleting cross object");
      for (ScanTwoResult scanTwoResult : this.getCross().getScanTwoResults()) {
        rInterface.evaluateCommand("rm(" + scanTwoResult.getAccessorExpressionString() + ")");
      }

      for (ScanOneResult scanOneResult : this.getCross().getScanOneResults()) {
        rInterface.evaluateCommand("rm(" + scanOneResult.getAccessorExpressionString() + ")");
      }

      for (FitQtlResult fitResult : this.getCross().getFitQtlResults()) {
        rInterface.evaluateCommand("rm(" + fitResult.getAccessorExpressionString() + ")");
      }

      rInterface.evaluateCommand("rm(" + this.getCross().getAccessorExpressionString() + ")");

      QtlProjectManager projectManager = QtlProjectTree.this.getProjectManager();
      projectManager.notifyActiveProjectModified();
      projectManager.refreshProjectDataStructures();
    }