| 
									
										
										
										
											2021-06-24 22:38:16 +02:00
										 |  |  | ui <- fluidPage( | 
					
						
							| 
									
										
										
										
											2021-10-16 17:02:39 +02:00
										 |  |  |     shinyjs::useShinyjs(), | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  |     rclipboard::rclipboardSetup(), | 
					
						
							| 
									
										
										
										
											2021-06-24 22:38:16 +02:00
										 |  |  |     titlePanel("TPE-OLD candidates"), | 
					
						
							| 
									
										
										
										
											2021-10-15 11:46:15 +02:00
										 |  |  |     sidebarLayout( | 
					
						
							|  |  |  |         sidebarPanel( | 
					
						
							|  |  |  |             width = 3, | 
					
						
							| 
									
										
										
										
											2021-10-21 14:56:19 +02:00
										 |  |  |             preset_editor_ui("preset_editor"), | 
					
						
							| 
									
										
										
										
											2021-11-15 10:22:28 +01:00
										 |  |  |             filters_ui("filters"), | 
					
						
							| 
									
										
										
										
											2021-10-19 16:44:29 +02:00
										 |  |  |             methods_ui("methods") | 
					
						
							| 
									
										
										
										
											2021-06-24 22:38:16 +02:00
										 |  |  |         ), | 
					
						
							| 
									
										
										
										
											2021-10-15 11:46:15 +02:00
										 |  |  |         mainPanel( | 
					
						
							| 
									
										
										
										
											2021-10-15 13:59:00 +02:00
										 |  |  |             tabsetPanel( | 
					
						
							|  |  |  |                 type = "pills", | 
					
						
							|  |  |  |                 header = div(style = "margin-top: 16px"), | 
					
						
							|  |  |  |                 tabPanel( | 
					
						
							|  |  |  |                     "Results", | 
					
						
							| 
									
										
										
										
											2021-10-15 15:03:40 +02:00
										 |  |  |                     uiOutput("copy"), | 
					
						
							| 
									
										
										
										
											2021-10-15 13:59:00 +02:00
										 |  |  |                     div( | 
					
						
							|  |  |  |                         style = "margin-top: 16px", | 
					
						
							| 
									
										
										
										
											2021-11-17 23:08:20 +01:00
										 |  |  |                         DT::DTOutput("genes") | 
					
						
							| 
									
										
										
										
											2021-10-15 13:59:00 +02:00
										 |  |  |                     ) | 
					
						
							|  |  |  |                 ), | 
					
						
							|  |  |  |                 tabPanel( | 
					
						
							|  |  |  |                     "Positions", | 
					
						
							| 
									
										
										
										
											2021-11-15 15:12:42 +01:00
										 |  |  |                     checkboxInput( | 
					
						
							|  |  |  |                         "use_positions", | 
					
						
							|  |  |  |                         "Show positions instead of distances" | 
					
						
							|  |  |  |                     ), | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  |                     plotly::plotlyOutput( | 
					
						
							| 
									
										
										
										
											2021-10-15 13:59:00 +02:00
										 |  |  |                         "scatter", | 
					
						
							|  |  |  |                         width = "100%", | 
					
						
							|  |  |  |                         height = "600px" | 
					
						
							|  |  |  |                     ) | 
					
						
							|  |  |  |                 ), | 
					
						
							|  |  |  |                 tabPanel( | 
					
						
							| 
									
										
										
										
											2021-10-15 15:03:40 +02:00
										 |  |  |                     "Assessment", | 
					
						
							|  |  |  |                     htmlOutput("assessment_synopsis"), | 
					
						
							|  |  |  |                     div( | 
					
						
							|  |  |  |                         style = "margin-top: 16px", | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  |                         plotly::plotlyOutput( | 
					
						
							| 
									
										
										
										
											2021-10-15 15:03:40 +02:00
										 |  |  |                             "rank_plot", | 
					
						
							|  |  |  |                             width = "100%", | 
					
						
							|  |  |  |                             height = "600px" | 
					
						
							|  |  |  |                         ) | 
					
						
							|  |  |  |                     ), | 
					
						
							| 
									
										
										
										
											2021-11-15 09:35:47 +01:00
										 |  |  |                     div( | 
					
						
							|  |  |  |                         style = "margin-top: 16px", | 
					
						
							|  |  |  |                         plotly::plotlyOutput( | 
					
						
							|  |  |  |                             "boxplot", | 
					
						
							|  |  |  |                             width = "100%", | 
					
						
							|  |  |  |                             height = "600px" | 
					
						
							|  |  |  |                         ) | 
					
						
							|  |  |  |                     ), | 
					
						
							| 
									
										
										
										
											2021-10-15 13:59:00 +02:00
										 |  |  |                 ), | 
					
						
							|  |  |  |                 tabPanel( | 
					
						
							|  |  |  |                     "Analysis", | 
					
						
							|  |  |  |                     checkboxInput( | 
					
						
							|  |  |  |                         "enable_gost", | 
					
						
							|  |  |  |                         "Perform a gene set enrichment analysis on the \ | 
					
						
							|  |  |  |                         filtered result genes." | 
					
						
							|  |  |  |                     ), | 
					
						
							|  |  |  |                     conditionalPanel( | 
					
						
							|  |  |  |                         "input.enable_gost == true", | 
					
						
							| 
									
										
										
										
											2021-10-20 15:34:52 +02:00
										 |  |  |                         plotly::plotlyOutput( | 
					
						
							| 
									
										
										
										
											2021-10-15 13:59:00 +02:00
										 |  |  |                             "gost", | 
					
						
							|  |  |  |                             width = "100%", | 
					
						
							|  |  |  |                             height = "600px" | 
					
						
							|  |  |  |                         ) | 
					
						
							|  |  |  |                     ) | 
					
						
							| 
									
										
										
										
											2021-10-07 12:42:36 +02:00
										 |  |  |                 ) | 
					
						
							| 
									
										
										
										
											2021-10-07 12:18:47 +02:00
										 |  |  |             ) | 
					
						
							| 
									
										
										
										
											2021-06-24 22:38:16 +02:00
										 |  |  |         ) | 
					
						
							|  |  |  |     ) | 
					
						
							| 
									
										
										
										
											2021-10-19 14:15:28 +02:00
										 |  |  | ) |