mirror of
				https://github.com/johrpan/ubigen.git
				synced 2025-10-26 19:57:24 +01:00 
			
		
		
		
	Remove all data page
This commit is contained in:
		
							parent
							
								
									06de28a92b
								
							
						
					
					
						commit
						36417f86a7
					
				
					 2 changed files with 4 additions and 5 deletions
				
			
		|  | @ -1,7 +1,7 @@ | ||||||
| #' Server implementing the main user interface. | #' Server implementing the main user interface. | ||||||
| #' @noRd | #' @noRd | ||||||
| server <- function(input, output) { | server <- function(input, output) { | ||||||
|     output$ranked_data <- DT::renderDataTable({ |     ranked_data <- reactive({ | ||||||
|         total_weight <- abs(input$above_median) + |         total_weight <- abs(input$above_median) + | ||||||
|             abs(input$mean_expression) + |             abs(input$mean_expression) + | ||||||
|             abs(input$sd_expression) |             abs(input$sd_expression) | ||||||
|  | @ -17,10 +17,10 @@ server <- function(input, output) { | ||||||
|         data.table::setorder(data, -score) |         data.table::setorder(data, -score) | ||||||
|         data[, rank := .I] |         data[, rank := .I] | ||||||
| 
 | 
 | ||||||
|         genes_table(data) |         data | ||||||
|     }) |     }) | ||||||
| 
 | 
 | ||||||
|     output$all_data <- DT::renderDataTable(genes_table(ubigen::genes)) |     output$ranked_data <- DT::renderDataTable(genes_table(ranked_data())) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #' Create a displayable data table from the gene results data. | #' Create a displayable data table from the gene results data. | ||||||
|  |  | ||||||
							
								
								
									
										3
									
								
								R/ui.R
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								R/ui.R
									
										
									
									
									
								
							|  | @ -46,8 +46,7 @@ ui <- function() { | ||||||
|             ) |             ) | ||||||
|         ), |         ), | ||||||
|         tabPanel( |         tabPanel( | ||||||
|             title = "Data", |             title = "Help" | ||||||
|             DT::dataTableOutput("all_data") |  | ||||||
|         ), |         ), | ||||||
|         tabPanel( |         tabPanel( | ||||||
|             title = "Publication" |             title = "Publication" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue