Browse Source

Afegida barra de progrés.

main
marcelcosta 2 years ago
parent
commit
1704d2e463
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      chromatoR/app.R

+ 5
- 0
chromatoR/app.R

@ -93,6 +93,8 @@ server <- function(input, output) {
} }
return(pos) return(pos)
} }
progress <- shiny::Progress$new(min=0, max=3)
progress$set(message = "Start", value = 1)
print("Start") print("Start")
Apeaks <- getpeaks(obj_ab@traceMatrix[,1]) Apeaks <- getpeaks(obj_ab@traceMatrix[,1])
@ -116,6 +118,7 @@ server <- function(input, output) {
pos1<-pos1[,1] pos1<-pos1[,1]
pos<-pos[,1] pos<-pos[,1]
progress$set(message = "Peaks Detected", value = 2)
print("Peaks Detected") print("Peaks Detected")
primarypeaks <- pos primarypeaks <- pos
@ -182,6 +185,8 @@ server <- function(input, output) {
obj_ab<<-obj_ab obj_ab<<-obj_ab
obj$seq<-T obj$seq<-T
print(as.character(obj_ab@primarySeq)) print(as.character(obj_ab@primarySeq))
progress$set(message = "Peaks Detected", value = 3)
progress$close()
print("Finished") print("Finished")
} }
}) })

Loading…
Cancel
Save