@@ -68,7 +68,7 @@ server <- function(input, output, session) {
6868 return (NULL )
6969 }
7070 selectChoices <- merge(data.frame (X = colnames(untidyData )), dataColumnNames )
71- updateSelectInput(session , ' dataColumn ' , choices = selectChoices $ Y , selected = ' OD680, AU' )
71+ updateSelectInput(session , ' selectDataView ' , choices = selectChoices $ Y , selected = ' OD680, AU' )
7272 factor <- 3600 / (input $ interval * 60 )
7373 untidyData $ time <- round(untidyData $ time * factor ) / factor
7474 untidyData %> %
@@ -200,7 +200,7 @@ server <- function(input, output, session) {
200200 output $ dataViewPlot <- renderPlot({
201201 data <- dataProcessed()
202202 if (! is.null(data )) {
203- plot(x = data $ time , y = data [[dataColumnNames $ X [match(input $ dataColumn , dataColumnNames $ Y )]]], xlim = rangesView $ x , ylim = rangesView $ y , xlab = ' Experiment duration, h' , ylab = ' Optical density, AU' )
203+ plot(x = data $ time , y = data [[dataColumnNames $ X [match(input $ selectDataView , dataColumnNames $ Y )]]], xlim = rangesView $ x , ylim = rangesView $ y , xlab = ' Experiment duration, h' , ylab = ' Optical density, AU' )
204204 }
205205 })
206206
@@ -267,14 +267,14 @@ ui <- fluidPage(
267267 ' right' , options = list (container = ' body' )
268268 )
269269 ),
270+ tags $ hr(),
270271 fluidRow(
271- downloadButton( ' downloadData ' , " Download " )
272+ selectInput( ' selectDataView ' , " Data to view " , " OD680, AU " )
272273 ),
273274 tags $ hr(),
274275 fluidRow(
275- selectInput(' dataColumn' , " Data to View" , " OD680, AU" )
276- ),
277- tags $ hr()
276+ downloadButton(' downloadData' , " Download" )
277+ )
278278 ),
279279 conditionalPanel(
280280 condition = ' input.conditionedSidePanels == 2' ,
@@ -291,6 +291,14 @@ ui <- fluidPage(
291291 options = list (container = ' body' )
292292 )
293293 ),
294+ tags $ hr(),
295+ fluidRow(
296+ selectInput(' selectGrowthRatesData' , " Data for growth calculation" , c(" OD680, AU" , " OD720, AU" ), " OD680, AU" )
297+ ),
298+ fluidRow(
299+ selectInput(' selectDilutionPump' , " Pump used for dilutions" , c(" Turbidostat" , " Pump 3" , " Pump 4" , " Pump 5" , " Pump 6" , " Pump 7" ), " Pump 5" )
300+ ),
301+ tags $ hr(),
294302 fluidRow(
295303 downloadButton(' downloadAnalysis' , " Download" )
296304 )
0 commit comments