コード例 #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();
 }
コード例 #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();
    }
コード例 #3
0
 /** Delete this qtl basket */
 private void delete() {
   this.getQtlBasket().getParentCross().getQtlBasketMap().remove(this.getQtlBasket().getName());
   QtlProjectManager projectManager = QtlProjectTree.this.getProjectManager();
   projectManager.notifyActiveProjectModified();
   projectManager.refreshProjectDataStructures();
 }