@Override
    public void initController() {
        Manager m = Manager.getInstance();
        String geneN = "";
        if(m.getResult(Manager.Result.Gene_Num_All) != null){
            geneN = m.getResult(Manager.Result.Gene_Num_All).toString();
        }
        inputGeneBox.getChildren().add(new Label("Rows: " + geneN));
        String miRNAN = "";
        if(m.getResult(Manager.Result.MiRNA_Num_All) != null){
            miRNAN = m.getResult(Manager.Result.MiRNA_Num_All).toString();
        }
        inputmiRNABox.getChildren().add(new Label("Rows: "+ miRNAN));
        
        inputGeneBox.getChildren().add(new Label("Group1 Number: "+ m.getParam(Manager.Keyword.GeneGroup1Num)));
        inputGeneBox.getChildren().add(new Label("Group2 Number: "+ m.getParam(Manager.Keyword.GeneGroup2Num)));
        inputmiRNABox.getChildren().add(new Label("Group1 Number: "+ m.getParam(Manager.Keyword.RNAGroup1Num)));
        inputmiRNABox.getChildren().add(new Label("Group2 Number: "+ m.getParam(Manager.Keyword.RNAGroup2Num)));
        
        Button geneBt = new Button("Show Data");
        geneBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.addTab(2);
            }
            
        });
        inputGeneBox.getChildren().add(geneBt);
        Button rnaBt = new Button("Show Data");
        rnaBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.addTab(3);
            }
            
        });
        inputmiRNABox.getChildren().add(rnaBt);
        
        if(m.getParam(Manager.Keyword.Input_interaction).isEmpty()){
            interBox.getChildren().add(new Label("No interaction file"));
        }else{
            Button interBt = new Button("Show Data");
            interBt.setOnAction(new EventHandler<ActionEvent>(){

                @Override
                public void handle(ActionEvent t) {
                    controller.addTab(4);
                }

            });
            interBox.getChildren().add(interBt);
        }
        
        //differential
        String tgeneN = "";
        if(m.getResult(Manager.Result.Gene_Num_Select) != null){
            tgeneN = m.getResult(Manager.Result.Gene_Num_Select).toString();
        }
        geneTestLabel = new Label("Rows: " + tgeneN);
        dsGeneBox.getChildren().add(geneTestLabel);
        String tmiRNAN = "";
        if(m.getResult(Manager.Result.MiRNA_Num_Select) != null){
            tmiRNAN = m.getResult(Manager.Result.MiRNA_Num_Select).toString();
        }
        miRNATestLabel = new Label("Rows: "+ tmiRNAN);
        dsmiRNABox.getChildren().add(miRNATestLabel);
        
        Button tgeneBt = new Button("Show Data");
        tgeneBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.addTab(5);
            }
            
        });
        dsGeneBox.getChildren().add(tgeneBt);
        Button exGeneBt = new Button("Export");
        exGeneBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.export(0);
            }
            
        });
        dsGeneBox.getChildren().add(exGeneBt);
        
        Button trnaBt = new Button("Show Data");
        trnaBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.addTab(6);
            }
            
        });
        dsmiRNABox.getChildren().add(trnaBt);
        Button exRNABt = new Button("Export");
        exRNABt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.export(1);
            }
            
        });
        dsmiRNABox.getChildren().add(exRNABt);
        
        //cor
        String corN = "";
        if(m.getResult(Manager.Result.Cor_Num) != null){
            corN = m.getResult(Manager.Result.Cor_Num).toString();
        }
        corLabel = new Label("Rows: " + corN);
        corBox.getChildren().add(corLabel);
        Button corBt = new Button("Show Data");
        corBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.addTab(7);
            }
            
        });
        corBox.getChildren().add(corBt);
        Button exCorBt = new Button("Export");
        exCorBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.export(2);
            }
            
        });
        corBox.getChildren().add(exCorBt);
        
        //overlap
        String olN = "";
        if(m.getResult(Manager.Result.Overlap_Num) != null){
            olN = m.getResult(Manager.Result.Overlap_Num).toString();
        }
        overlapLabel = new Label("Rows: " + olN);
        overlapBox.getChildren().add(overlapLabel);
        Button olBt = new Button("Show Data");
        olBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.addTab(8);
            }
            
        });
        overlapBox.getChildren().add(olBt);
        Button exolBt = new Button("Export");
        exolBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.export(3);
            }
            
        });
        overlapBox.getChildren().add(exolBt);
        
        //result
        Button anaBt = new Button("Do Analysis");
        anaBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                analyse();
            }
            
        });
        resBox.getChildren().add(anaBt);
        
        resBox.getChildren().add(new Label("Network"));
        Button netBt = new Button("Show Network");
        netBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                try {
                    //controller.addTab(13);
                    FXMLLoader loader = new FXMLLoader(getClass().getResource("NetworkViewer.fxml"));
                    Parent root = (Parent)loader.load(); 
                    Stage s = new Stage();
                    s.setTitle("POMA Network Viewer");
                    s.setScene(new Scene(root));
                    s.show();
                } catch (IOException ex) {
                    Logger.getLogger(OverviewPane.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
            
        });
        resBox.getChildren().add(netBt);
        
        resBox.getChildren().add(new Label("NOD"));
        Button nodBt = new Button("NOD Chart");
        nodBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.addTab(9);
            }
            
        });
        resBox.getChildren().add(nodBt);
        
        resBox.getChildren().add(new Label("Wilcoxon Signed-rank Test"));
        Button wilBt = new Button("Wilcox Chart");
        wilBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.addTab(10);
            }
            
        });
        resBox.getChildren().add(wilBt);
        
        resBox.getChildren().add(new Label("DAVID analysis"));
        Button davidBt = new Button("Show");
        davidBt.setOnAction(new EventHandler<ActionEvent>(){

            @Override
            public void handle(ActionEvent t) {
                controller.addTab(11);
            }
            
        });
        resBox.getChildren().add(davidBt);
    }