mirror of
				https://github.com/johrpan/geposanui.git
				synced 2025-10-26 19:27:24 +01:00 
			
		
		
		
	Disable gost by default
This commit is contained in:
		
							parent
							
								
									f002758fc8
								
							
						
					
					
						commit
						686af3f44b
					
				
					 2 changed files with 18 additions and 6 deletions
				
			
		
							
								
								
									
										8
									
								
								server.R
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								server.R
									
										
									
									
									
								
							|  | @ -116,7 +116,11 @@ server <- function(input, output) { | ||||||
|     }) |     }) | ||||||
| 
 | 
 | ||||||
|     output$gost <- renderPlotly({ |     output$gost <- renderPlotly({ | ||||||
|         result <- gost(results()[, gene], ordered_query = TRUE) |         if (input$enable_gost) { | ||||||
|         gostplot(result, capped = FALSE, interactive = TRUE) |             result <- gost(results()[, gene], ordered_query = TRUE) | ||||||
|  |             gostplot(result, capped = FALSE, interactive = TRUE) | ||||||
|  |         } else { | ||||||
|  |             NULL | ||||||
|  |         } | ||||||
|     }) |     }) | ||||||
| } | } | ||||||
							
								
								
									
										16
									
								
								ui.R
									
										
									
									
									
								
							
							
						
						
									
										16
									
								
								ui.R
									
										
									
									
									
								
							|  | @ -86,10 +86,18 @@ ui <- fluidPage( | ||||||
|         ), |         ), | ||||||
|         wellPanel( |         wellPanel( | ||||||
|             h3("Gene set enrichment analysis"), |             h3("Gene set enrichment analysis"), | ||||||
|             plotlyOutput( |             checkboxInput( | ||||||
|                 "gost", |                 "enable_gost", | ||||||
|                 width = "100%", |                 "Perform a gene set enrichment analysis on the filtered result \ | ||||||
|                 height = "600px" |                  genes." | ||||||
|  |             ), | ||||||
|  |             conditionalPanel( | ||||||
|  |                 "input.enable_gost == true", | ||||||
|  |                 plotlyOutput( | ||||||
|  |                     "gost", | ||||||
|  |                     width = "100%", | ||||||
|  |                     height = "600px" | ||||||
|  |                 ) | ||||||
|             ) |             ) | ||||||
|         ) |         ) | ||||||
|     ) |     ) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue