Spaces:
Sleeping
Sleeping
Update PFCapp.qmd
Browse files- PFCapp.qmd +3 -0
PFCapp.qmd
CHANGED
|
@@ -425,6 +425,7 @@ sp_Barcode <- c("ITi-D", "ITi-V", "ITc", "PTi",
|
|
| 425 |
'BLA-I','ACB-I','AId-I','ECT-I',
|
| 426 |
'ACB-C','ECT-C','CP-C','AId-C','RSP-C',
|
| 427 |
'LHA-I')
|
|
|
|
| 428 |
selectInput('subtype_3d', 'Select SubType', sort(unique(sp.PFC$SubType)))
|
| 429 |
selectInput('target_3d', 'Select Target', sp_Barcode)
|
| 430 |
```
|
|
@@ -441,6 +442,7 @@ rglwidgetOutput('spatial_subtype', width = "100%")
|
|
| 441 |
#| context: server
|
| 442 |
|
| 443 |
observeEvent(input$target_3d,{
|
|
|
|
| 444 |
output$spatial_subtype <- renderRglwidget({
|
| 445 |
if (input$target_3d %in% c("ITi-D", "ITi-V", "ITc", "PTi")){
|
| 446 |
df_plot <- [email protected][which(sp.PFC$Proj_module==input$target_3d),]
|
|
@@ -468,6 +470,7 @@ observeEvent(input$target_3d,{
|
|
| 468 |
})
|
| 469 |
|
| 470 |
observeEvent(input$subtype_3d,{
|
|
|
|
| 471 |
output$spatial_subtype <- renderRglwidget({
|
| 472 |
df_plot <- [email protected][which(sp.PFC$SubType == input$subtype_3d),]
|
| 473 |
|
|
|
|
| 425 |
'BLA-I','ACB-I','AId-I','ECT-I',
|
| 426 |
'ACB-C','ECT-C','CP-C','AId-C','RSP-C',
|
| 427 |
'LHA-I')
|
| 428 |
+
waiter::use_waiter()
|
| 429 |
selectInput('subtype_3d', 'Select SubType', sort(unique(sp.PFC$SubType)))
|
| 430 |
selectInput('target_3d', 'Select Target', sp_Barcode)
|
| 431 |
```
|
|
|
|
| 442 |
#| context: server
|
| 443 |
|
| 444 |
observeEvent(input$target_3d,{
|
| 445 |
+
waiter::Waiter$new(id = "spatial_subtype", color="black")$show()
|
| 446 |
output$spatial_subtype <- renderRglwidget({
|
| 447 |
if (input$target_3d %in% c("ITi-D", "ITi-V", "ITc", "PTi")){
|
| 448 |
df_plot <- [email protected][which(sp.PFC$Proj_module==input$target_3d),]
|
|
|
|
| 470 |
})
|
| 471 |
|
| 472 |
observeEvent(input$subtype_3d,{
|
| 473 |
+
waiter::Waiter$new(id = "spatial_subtype", color="black")$show()
|
| 474 |
output$spatial_subtype <- renderRglwidget({
|
| 475 |
df_plot <- [email protected][which(sp.PFC$SubType == input$subtype_3d),]
|
| 476 |
|