Time and Outcome Columns are resetting after find/replace submit button
Closed this issue · 2 comments
So the find and replace button is resetting the time and outcome drop-downs in the sidebarPanel after filling out the find/replace text boxes and pressing the submit button in the Survival modal.
I have an isolate around the time()
and outcome()
reactives to help offset that reset once I start doing the find/replace to still show the chosen columns for time and outcome but it seems weird that the drop-down boxes are reverting back to the initial first column i.e. title in GSE19915.
Before
After
So survival analysis works, and it seems like the time() and outcome() columns only matter until the parse data button is pressed. Then the choices for the time/outcome is permanently set in the app only re-rendered when the app is re-started
When they switch back the isolate removes that dependency and the workflow of completing the find/replace and then viewing the KM curve is still OK!
I used updateSelectInput to "back-fill" the drop-downs with the selected column!