Skip to content
Snippets Groups Projects
Commit 531ee1cd authored by Benjamin Knight's avatar Benjamin Knight
Browse files

testing to see if event is not being run when astroglag is set to true

parent d0bd8cb3
No related merge requests found
...@@ -260,18 +260,26 @@ server <- function(input, output, session) { ...@@ -260,18 +260,26 @@ server <- function(input, output, session) {
current_obj(original_obj()) current_obj(original_obj())
}) })
observeEvent(input$local,{ # Processes local data observeEvent(input$local, {
if (input$local!=c("upload")) { if (input$local != "upload") {
temp <- get(input$local, local_data) temp <- get(input$local, local_data)
samples.integrated<<-temp[[1]] samples.integrated <<- temp[[1]]
geneDescriptions<<-temp[[2]] geneDescriptions <<- temp[[2]]
samples.markers<<-temp[[3]] samples.markers <<- temp[[3]]
clusters.markers<<-temp[[4]] clusters.markers <<- temp[[4]]
clusteredSamples.markers<<-temp[[5]] clusteredSamples.markers <<- temp[[5]]
current_obj(samples.integrated) current_obj(samples.integrated)
original_obj(samples.integrated) original_obj(samples.integrated)
# Update the gene select input here:
updateSelectizeInput(session,
"features",
choices = giveChoices1(x = current_obj()@assays$RNA$data@Dimnames[[1]]),
server = TRUE,
selected = NULL
)
} }
}) })
output$finished <- reactive({ # Utilized as a check to determine when "Apply changes" button is available output$finished <- reactive({ # Utilized as a check to determine when "Apply changes" button is available
if(is.null(input$sc_file) && input$local == c("upload")) return(0) if(is.null(input$sc_file) && input$local == c("upload")) return(0)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment