-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- clean up - set smoothHalfWindowSize to a more reasonable value
- Loading branch information
1 parent
a3250d4
commit 99a0609
Showing
9 changed files
with
43 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,46 @@ | ||
infoStateMassageHandler <- function(info_state, output) { | ||
if (info_state == "inital") { | ||
output$info1 <- renderText("Please select\na folder.") | ||
output$info2 <- renderText("") | ||
output$info3 <- renderText("") | ||
} | ||
if (info_state == "dir_set") { | ||
output$info1 <- renderText("Selected:") | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Press load button.") | ||
} | ||
if (info_state == "loaded") { | ||
output$info1 <- renderText("Loaded:") | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Press process button.") | ||
} | ||
if (info_state == "processed") { | ||
output$info1 <- renderText(("Dataset:")) | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Changed settings apply after re-processing.") | ||
} | ||
if (info_state == "fitErrorRecal") { | ||
output$info1 <- renderText(("Dataset:")) | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Could not be processed. Wrong lock-mass?") | ||
} | ||
if (info_state == "fitErrorNorm") { | ||
output$info1 <- renderText(("Dataset:")) | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Could not be processed. Wrong normalization-mass?") | ||
} | ||
if (info_state == "RefMzError") { | ||
output$info1 <- renderText(("Dataset:")) | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Could not be processed. Increase tolerance?") | ||
} | ||
if (info_state == "fitErrorOther") { | ||
output$info1 <- renderText(("Dataset:")) | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Could not be processed. Unkown error.\n") | ||
} | ||
switch(info_state, | ||
"inital" = { | ||
output$info1 <- renderText("Please select\na folder.") | ||
output$info2 <- renderText("") | ||
output$info3 <- renderText("") | ||
}, | ||
"dir_set" = { | ||
output$info1 <- renderText("Selected:") | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Press load button.") | ||
}, | ||
"loaded" = { | ||
output$info1 <- renderText("Loaded:") | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Press process button.") | ||
}, | ||
"processed" = { | ||
output$info1 <- renderText(("Dataset:")) | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Changed settings apply after re-processing.") | ||
}, | ||
"fitErrorRecal" = { | ||
output$info1 <- renderText(("Dataset:")) | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Could not be processed. Wrong lock-mass?") | ||
}, | ||
"fitErrorNorm" = { | ||
output$info1 <- renderText(("Dataset:")) | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Could not be processed. Wrong normalization-mass?") | ||
}, | ||
"RefMzError" = { | ||
output$info1 <- renderText(("Dataset:")) | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Could not be processed. Increase tolerance?") | ||
}, | ||
"fitErrorOther" = { | ||
output$info1 <- renderText(("Dataset:")) | ||
output$info2 <- renderText(appData$selected_dir) | ||
output$info3 <- renderText("Could not be processed. Unkown error.\n") | ||
} | ||
) | ||
|
||
return(output) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ tibble | |
tidyr | ||
ggplot2 | ||
purrr | ||
readr | ||
stringr | ||
forcats | ||
shinyFiles | ||
|