Repository navigation
Open
Description
Dear iSEE developers,
I am looking at the first example of the Sharing information across iSEE panels vignette, learning how to select points in the Reduced Dimension Plot. When I select a group of points in the plot, they are highlighted by a shaded background. But even when I unselect them, e.g. by clicking elsewhere in the plot, or by drawing another rectangle. the shared region remains. (All without my saving the selection.)
Here are screenshots to illustrate:
- Initial selection of points by drawing a rectangle (none of the default settings have been modified):
- Clicking outside the selected rectangle removes its border, but the shading remains, even when another rectangle is selected
- Each newly selected rectangle persists
I was expecting that clicking outside the rectangle / drawing a new rectangle would remove the previously drawn one, at least without actively "saving" the selection. Is that not the expected behavior?
- OS: Mac OS 13.1
- Browser: Safari 16.2 or Brave v1.47.186
> sessioninfo::session_info()
─ Session info ──────────────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 4.2.2 (2022-10-31)
os macOS Ventura 13.1
system x86_64, darwin17.0
ui RStudio
language (EN)
collate en_US.UTF-8
ctype en_US.UTF-8
tz America/Los_Angeles
date 2023-01-29
rstudio 2022.07.2+576 Spotted Wakerobin (desktop)
pandoc NA
─ Packages ──────────────────────────────────────────────────────────────────────────────────────────────────
! package * version date (UTC) lib source
P annotate 1.76.0 2022-11-01 [?] Bioconductor
P AnnotationDbi 1.60.0 2022-11-01 [?] Bioconductor
AnnotationFilter 1.22.0 2022-11-01 [1] Bioconductor
AnnotationHub 3.6.0 2022-11-01 [1] Bioconductor
assertthat 0.2.1 2019-03-21 [1] CRAN (R 4.2.0)
beachmat 2.14.0 2022-11-01 [1] Bioconductor
beeswarm 0.4.0 2021-06-01 [1] CRAN (R 4.2.0)
P Biobase * 2.58.0 2022-11-01 [?] Bioconductor
BiocFileCache 2.6.0 2022-11-01 [1] Bioconductor
P BiocGenerics * 0.44.0 2022-11-01 [?] Bioconductor
BiocIO 1.8.0 2022-11-01 [1] Bioconductor
P BiocManager * 1.30.19 2022-10-25 [?] CRAN (R 4.2.0)
BiocNeighbors 1.16.0 2022-11-01 [1] Bioconductor
P BiocParallel 1.32.5 2022-12-23 [?] Bioconductor
BiocSingular 1.14.0 2022-11-01 [1] Bioconductor
BiocVersion 3.16.0 2022-05-05 [1] Bioconductor
biomaRt 2.54.0 2022-11-01 [1] Bioconductor
P Biostrings 2.66.0 2022-11-01 [?] Bioconductor
P bit 4.0.5 2022-11-15 [?] CRAN (R 4.2.0)
P bit64 4.0.5 2020-08-30 [?] CRAN (R 4.2.0)
P bitops 1.0-7 2021-04-24 [?] CRAN (R 4.2.0)
P blob 1.2.3 2022-04-10 [?] CRAN (R 4.2.0)
P bslib 0.4.2 2022-12-16 [?] CRAN (R 4.2.0)
P cachem 1.0.6 2021-08-19 [?] CRAN (R 4.2.0)
P circlize 0.4.15 2022-05-10 [?] CRAN (R 4.2.0)
P cli 3.6.0 2023-01-09 [?] CRAN (R 4.2.0)
P clue 0.3-63 2022-11-19 [?] CRAN (R 4.2.0)
P cluster 2.1.4 2022-08-22 [?] CRAN (R 4.2.2)
P codetools 0.2-18 2020-11-04 [?] CRAN (R 4.2.2)
P colorspace 2.1-0 2023-01-23 [?] CRAN (R 4.2.2)
P colourpicker 1.2.0 2022-10-28 [?] CRAN (R 4.2.0)
P ComplexHeatmap 2.14.0 2022-11-01 [?] Bioconductor
P crayon 1.5.2 2022-09-29 [?] CRAN (R 4.2.0)
P crosstalk 1.2.0 2021-11-04 [?] CRAN (R 4.2.0)
P curl 5.0.0 2023-01-12 [?] CRAN (R 4.2.0)
P DBI 1.1.3 2022-06-18 [?] CRAN (R 4.2.0)
dbplyr 2.3.0 2023-01-16 [1] CRAN (R 4.2.0)
P DelayedArray 0.24.0 2022-11-01 [?] Bioconductor
DelayedMatrixStats 1.20.0 2022-11-01 [1] Bioconductor
P DESeq2 1.38.3 2023-01-19 [?] Bioconductor
P digest 0.6.31 2022-12-11 [?] CRAN (R 4.2.1)
P doParallel 1.0.17 2022-02-07 [?] CRAN (R 4.2.0)
dplyr 1.0.10 2022-09-01 [1] CRAN (R 4.2.0)
P DT 0.27 2023-01-17 [?] CRAN (R 4.2.0)
edgeR 3.40.2 2023-01-19 [1] Bioconductor
P ellipsis 0.3.2 2021-04-29 [?] CRAN (R 4.2.0)
ensembldb 2.22.0 2022-11-01 [1] Bioconductor
ExperimentHub 2.6.0 2022-11-01 [1] Bioconductor
P fansi 1.0.4 2023-01-22 [?] CRAN (R 4.2.0)
P farver 2.1.1 2022-07-06 [?] CRAN (R 4.2.1)
P fastmap 1.1.0 2021-01-25 [?] CRAN (R 4.2.0)
filelock 1.0.2 2018-10-05 [1] CRAN (R 4.2.0)
P fontawesome 0.5.0 2023-01-25 [?] CRAN (R 4.2.2)
P foreach 1.5.2 2022-02-02 [?] CRAN (R 4.2.0)
P geneplotter 1.76.0 2022-11-01 [?] Bioconductor
generics 0.1.3 2022-07-05 [1] CRAN (R 4.2.0)
P GenomeInfoDb * 1.34.7 2023-01-24 [?] Bioconductor
P GenomeInfoDbData 1.2.9 2022-12-05 [?] Bioconductor
GenomicAlignments 1.34.0 2022-11-01 [1] Bioconductor
GenomicFeatures 1.50.4 2023-01-24 [1] Bioconductor
P GenomicRanges * 1.50.2 2022-12-16 [?] Bioconductor
P GetoptLong 1.0.5 2020-12-15 [?] CRAN (R 4.2.0)
ggbeeswarm 0.7.1 2022-12-16 [1] CRAN (R 4.2.0)
P ggplot2 * 3.4.0 2022-11-04 [?] CRAN (R 4.2.0)
P ggrepel 0.9.2 2022-11-06 [?] CRAN (R 4.2.0)
P GlobalOptions 0.1.2 2020-06-10 [?] CRAN (R 4.2.0)
P glue 1.6.2 2022-02-24 [?] CRAN (R 4.2.0)
gridExtra 2.3 2017-09-09 [1] CRAN (R 4.2.0)
P gtable 0.3.1 2022-09-01 [?] CRAN (R 4.2.0)
hms 1.1.2 2022-08-19 [1] CRAN (R 4.2.0)
P htmltools 0.5.4 2022-12-07 [?] CRAN (R 4.2.0)
P htmlwidgets 1.6.1 2023-01-07 [?] CRAN (R 4.2.0)
P httpuv 1.6.8 2023-01-12 [?] CRAN (R 4.2.0)
P httr 1.4.4 2022-08-17 [?] CRAN (R 4.2.0)
P igraph 1.3.5 2022-09-22 [?] CRAN (R 4.2.0)
interactiveDisplayBase 1.36.0 2022-11-01 [1] Bioconductor
P IRanges * 2.32.0 2022-11-01 [?] Bioconductor
irlba 2.3.5.1 2022-10-03 [1] CRAN (R 4.2.0)
P iSEE * 2.10.0 2022-11-01 [?] Bioconductor
iSEEde * 0.99.0 2023-01-26 [1] Github (iSEE/iSEEde@d6071f9)
P iterators 1.0.14 2022-02-05 [?] CRAN (R 4.2.0)
P jquerylib 0.1.4 2021-04-26 [?] CRAN (R 4.2.0)
P jsonlite 1.8.4 2022-12-06 [?] CRAN (R 4.2.0)
P KEGGREST 1.38.0 2022-11-01 [?] Bioconductor
P knitr 1.42 2023-01-25 [?] CRAN (R 4.2.2)
P labeling 0.4.2 2020-10-20 [?] CRAN (R 4.2.0)
P later 1.3.0 2021-08-18 [?] CRAN (R 4.2.0)
P lattice 0.20-45 2021-09-22 [?] CRAN (R 4.2.2)
P lazyeval 0.2.2 2019-03-15 [?] CRAN (R 4.2.0)
P lifecycle 1.0.3 2022-10-07 [?] CRAN (R 4.2.0)
limma 3.54.0 2022-11-01 [1] Bioconductor
P locfit 1.5-9.7 2023-01-02 [?] CRAN (R 4.2.2)
P magrittr 2.0.3 2022-03-30 [?] CRAN (R 4.2.0)
P Matrix 1.5-1 2022-09-13 [?] CRAN (R 4.2.2)
P MatrixGenerics * 1.10.0 2022-11-01 [?] Bioconductor
P matrixStats * 0.63.0 2022-11-18 [?] CRAN (R 4.2.0)
P memoise 2.0.1 2021-11-26 [?] CRAN (R 4.2.0)
P mgcv 1.8-41 2022-10-21 [?] CRAN (R 4.2.2)
P mime 0.12 2021-09-28 [?] CRAN (R 4.2.0)
P miniUI 0.1.1.1 2018-05-18 [?] CRAN (R 4.2.0)
P munsell 0.5.0 2018-06-12 [?] CRAN (R 4.2.0)
P nlme 3.1-160 2022-10-10 [?] CRAN (R 4.2.2)
P pillar 1.8.1 2022-08-19 [?] CRAN (R 4.2.0)
P pkgconfig 2.0.3 2019-09-22 [?] CRAN (R 4.2.0)
P png 0.1-8 2022-11-29 [?] CRAN (R 4.2.0)
prettyunits 1.1.1 2020-01-24 [1] CRAN (R 4.2.0)
progress 1.2.2 2019-05-16 [1] CRAN (R 4.2.0)
P promises 1.2.0.1 2021-02-11 [?] CRAN (R 4.2.0)
ProtGenerics 1.30.0 2022-11-01 [1] Bioconductor
purrr 1.0.1 2023-01-10 [1] CRAN (R 4.2.0)
P R6 2.5.1 2021-08-19 [?] CRAN (R 4.2.0)
ragg 1.2.5 2023-01-12 [1] CRAN (R 4.2.0)
P rappdirs 0.3.3 2021-01-31 [?] CRAN (R 4.2.0)
P RColorBrewer 1.1-3 2022-04-03 [?] CRAN (R 4.2.0)
P Rcpp 1.0.10 2023-01-22 [?] CRAN (R 4.2.0)
P RCurl 1.98-1.9 2022-10-03 [?] CRAN (R 4.2.0)
P remotes 2.4.2 2021-11-30 [?] CRAN (R 4.2.0)
renv 0.16.0 2022-09-29 [1] CRAN (R 4.2.0)
restfulr 0.0.15 2022-06-16 [1] CRAN (R 4.2.0)
P rintrojs 0.3.2 2022-08-09 [?] CRAN (R 4.2.0)
P rjson 0.2.21 2022-01-09 [?] CRAN (R 4.2.0)
P rlang 1.0.6 2022-09-24 [?] CRAN (R 4.2.0)
Rsamtools 2.14.0 2022-11-01 [1] Bioconductor
P RSQLite 2.2.20 2022-12-22 [?] CRAN (R 4.2.0)
rsvd 1.0.5 2021-04-16 [1] CRAN (R 4.2.0)
rtracklayer 1.58.0 2022-11-01 [1] Bioconductor
Rtsne 0.16 2022-04-17 [1] CRAN (R 4.2.0)
P S4Vectors * 0.36.1 2022-12-05 [?] Bioconductor
P sass 0.4.5 2023-01-24 [?] CRAN (R 4.2.0)
ScaledMatrix 1.6.0 2022-11-01 [1] Bioconductor
P scales 1.2.1 2022-08-20 [?] CRAN (R 4.2.0)
scater * 1.26.1 2022-11-13 [1] Bioconductor
scRNAseq * 2.12.0 2022-11-03 [1] Bioconductor
scuttle * 1.8.4 2023-01-19 [1] Bioconductor
P sessioninfo 1.2.2 2021-12-06 [?] CRAN (R 4.2.0)
P shape 1.4.6 2021-05-19 [?] CRAN (R 4.2.0)
P shiny * 1.7.4 2022-12-15 [?] CRAN (R 4.2.0)
P shinyAce 0.4.2 2022-05-06 [?] CRAN (R 4.2.0)
P shinydashboard 0.7.2 2021-09-30 [?] CRAN (R 4.2.0)
P shinyjs 2.1.0 2021-12-23 [?] CRAN (R 4.2.0)
P shinyWidgets 0.7.6 2023-01-08 [?] CRAN (R 4.2.0)
P SingleCellExperiment * 1.20.0 2022-11-01 [?] Bioconductor
sparseMatrixStats 1.10.0 2022-11-01 [1] Bioconductor
P stringi 1.7.12 2023-01-11 [?] CRAN (R 4.2.0)
P stringr 1.5.0 2022-12-02 [?] CRAN (R 4.2.0)
P SummarizedExperiment * 1.28.0 2022-11-01 [?] Bioconductor
systemfonts 1.0.4 2022-02-11 [1] CRAN (R 4.2.0)
textshaping 0.3.6 2021-10-13 [1] CRAN (R 4.2.0)
P tibble 3.1.8 2022-07-22 [?] CRAN (R 4.2.1)
tidyselect 1.2.0 2022-10-10 [1] CRAN (R 4.2.0)
P utf8 1.2.2 2021-07-24 [?] CRAN (R 4.2.0)
P vctrs 0.5.2 2023-01-23 [?] CRAN (R 4.2.2)
P vipor 0.4.5 2017-03-22 [?] CRAN (R 4.2.0)
viridis 0.6.2 2021-10-13 [1] CRAN (R 4.2.0)
P viridisLite 0.4.1 2022-08-22 [?] CRAN (R 4.2.0)
P withr 2.5.0 2022-03-03 [?] CRAN (R 4.2.0)
P xfun 0.36 2022-12-21 [?] CRAN (R 4.2.0)
P XML 3.99-0.13 2022-12-04 [?] CRAN (R 4.2.0)
xml2 1.3.3 2021-11-30 [1] CRAN (R 4.2.0)
P xtable 1.8-4 2019-04-21 [?] CRAN (R 4.2.0)
P XVector 0.38.0 2022-11-01 [?] Bioconductor
P yaml 2.3.7 2023-01-23 [?] CRAN (R 4.2.2)
P zlibbioc 1.44.0 2022-11-01 [?] Bioconductor
[1] /Users/sandmann/Desktop/iSEE/renv/library/R-4.2/x86_64-apple-darwin17.0
[2] /Users/sandmann/Desktop/iSEE/renv/sandbox/R-4.2/x86_64-apple-darwin17.0/fb4b0a46
P ── Loaded and on-disk path mismatch.
Reacted by Kevin Rue-Albrecht
Metadata
Metadata
Assignees
Labels
No labels




Activity
LTLA commentedon Jan 31, 2023
IIRC the plot is set up to clear all brushes upon rerender (which it should do when redrawing/undrawing the manual selection box). Sometimes it gets confused when new selections are made too quickly, and then the brush gets disassociated from the plot and never gets cleared. But if you're doing the selections at a "reasonable" pace, then it should just work; the
resetOnNew=argument inbrushOptsis still here, so I dunno what's going on.kevinrue commentedon Sep 4, 2023
I'm still seeing this once in a while.
Again, to clarify, the brush itself is cleared (the dark border is clearly gone), but what remains seems to be an echo of the lighter-colored background area of the brush.
Some days I don't see it at all, and when it happens, it happens irreproducibly within the same session (i.e., I close the app and relaunch, I don't see it anymore, until it happens again later that day).
I don't know if it's an iSEE or shiny issue.
googling a bit more today, I found this https://stackoverflow.com/questions/30588472/is-it-possible-to-clear-the-brushed-area-of-a-plot-in-shiny I'll have to dig back into the brush code to see if we need to add more explicit code to clear the brush more cleanly/systematically/...
csoneson commentedon Sep 2, 2024
One thing that seems to work is to resize the affected panel (and then resizing it back to the original size). This will trigger a rerendering of the plot.
An option would be to have a "refresh/rerender" button for each panel, which would explicitly trigger the plot to be recreated.