Skip to content

Commit 0963e72

Browse files
committed
moving window is working
1 parent 3f0f1bc commit 0963e72

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎R/server/movingWindow.R‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Server Output Functions for Moving Window Tab
22

33
output$Moving_Window_Tab_Controls_1 <- renderUI({
4-
selectizeInput("MovingWindowMapInputID",label = h4("Choose mapping:"), get_event_mapping_names() )
4+
selectizeInput("MovingWindowMapInputID",label = h4("Choose POV:"), get_POV_name_list() )
55
})
66

77
output$Moving_Window_Tab_Controls_2 <- renderUI({
88
req(input$MovingWindowMapInputID)
9-
zoom_limit = zoom_upper_limit(get_event_mapping_threads( input$MovingWindowMapInputID))
9+
zoom_limit = zoom_upper_limit(get_POV( input$MovingWindowMapInputID))
1010
if (zoom_limit == 1)
11-
{tags$h4("Zooming not available with this mapping")}
11+
{tags$h4("Zooming not available with this POV")}
1212
else
1313
{sliderInput("MovingWindowZoomID",
1414
label = h4("Zoom in and out by event similarity:"),
@@ -45,7 +45,8 @@ output$single_moving_window_timeline = renderPlotly({
4545

4646
output$Moving_5_controls <- renderUI({sliderInput("M_5_Theshold","Display edges above", 0,1,0,step=0.01,ticks=FALSE )})
4747

48-
output$Moving_6_controls <- renderUI({button_choices = get_EVENT_CF()
48+
49+
output$Moving_6_controls <- renderUI({button_choices = get_POV_EVENT_CF( input$MovingWindowMapInputID )
4950
tags$div(
5051
radioButtons("M_6_OtherNetworkCF","Graph co-occurrence relation between:",
5152
choices = button_choices,
@@ -54,7 +55,7 @@ output$single_moving_window_timeline = renderPlotly({
5455
sliderInput("M_6_Theshold","Display edges above", 0,1,0,step=0.01,ticks=FALSE ))})
5556

5657

57-
output$Moving_7_controls <- renderUI({checkboxGroupInput("M_7_CFs","Pick Two:", get_EVENT_CF() )})
58+
output$Moving_7_controls <- renderUI({checkboxGroupInput("M_7_CFs","Pick Two:", get_POV_EVENT_CF( input$MovingWindowMapInputID ) )})
5859

5960

6061
## New moving window outputs

0 commit comments

Comments
 (0)