Skip to content
Snippets Groups Projects
Unverified Commit 78d5c7eb authored by Todor Kondic's avatar Todor Kondic
Browse files

output$mzMLtabCtrl render: Updated.

* R/shiny-ui-config.R <mzMLtabCtrl>: Updated. Works together with the
  new, updated data files observers.
parent bfbb806b
No related branches found
No related tags found
No related merge requests found
...@@ -314,14 +314,14 @@ server_conf <- function(input,output,session,rv,rf,roots) { ...@@ -314,14 +314,14 @@ server_conf <- function(input,output,session,rv,rf,roots) {
}) })
output$mzMLtabCtrl <- rhandsontable::renderRHandsontable({ output$mzMLtabCtrl <- rhandsontable::renderRHandsontable({
assert(rv$m$input$tab$setid, msg = "Compounds set table not built yet.") df <- rv$work_mzml
tags <- unique(rf$get_tags_from_txt()) if (!shiny::isTruthy(df)) {
mzml <- rv$m$input$tab$mzml assert(rv$m$input$tab$setid, msg = "Compounds set table not built yet.")
message("mzml: ----") all_sets <- unique(rv$m$input$tab$setid$set)
print(mzml) txt_tags <- rf$get_tags_from_txt()
message("---- mzml") df <- mzml2disp(EMPTY_MZML, sets = all_sets, tags = txt_tags)
all_sets <- unique(rv$m$input$tab$setid$set) }
rhandsontable::rhandsontable(mzml2disp(mzml, sets = all_sets, tags = tags),stretchH="all") rhandsontable::rhandsontable(df,stretchH="all")
}) })
rv rv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment