talgalili / heatmaply

Interactive Heat Maps for R Using plotly
377 stars 73 forks source link

blank white screen in viewer panel #237

Closed lstolzenburg closed 4 years ago

lstolzenburg commented 4 years ago

Describe the bug

I'm trying to use heatmaply to generate heatmaps, but am only able to generate a blank white screen in the viewer panel. No errors. I've recently realized that you can click the "show in new window" button, and the heatmap will generate in an internet browser. Not sure if this is intended, but similar heatmap packages (like d3heatmap) have no problem populating an object in the viewer panel. It's a bit clunky to have the click the "show in new window" button each time.

To Reproduce

heatmaply(mtcars)

Expected behavior

Expected a html object to populate in the viewer panel. The code generates an image - but it is only a blank white screen.

Screenshots

heatmaply example

Additional context

Add any other context about the problem here.

alanocallaghan commented 4 years ago

What's your sessionInfo()? I can't reproduce

lstolzenburg commented 4 years ago

sessionInfo() R version 3.6.1 (2019-07-05) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] forcats_0.5.0 stringr_1.4.0 dplyr_0.8.5 purrr_0.3.3 readr_1.3.1
[6] tidyr_1.0.2 tibble_2.1.3 tidyverse_1.3.0 heatmaply_1.1.0 viridis_0.5.1
[11] viridisLite_0.3.0 plotly_4.9.2.1 ggplot2_3.3.0

loaded via a namespace (and not attached): [1] httr_1.4.1 jsonlite_1.6.1 foreach_1.5.0 modelr_0.1.6
[5] gtools_3.8.2 assertthat_0.2.1 cellranger_1.1.0 yaml_2.2.1
[9] pillar_1.4.3 backports_1.1.5 lattice_0.20-40 glue_1.3.2
[13] digest_0.6.25 RColorBrewer_1.1-2 rvest_0.3.5 colorspace_1.4-1
[17] htmltools_0.4.0 plyr_1.8.6 pkgconfig_2.0.3 broom_0.5.5
[21] haven_2.2.0 scales_1.1.0 webshot_0.5.2 gdata_2.18.0
[25] generics_0.0.2 farver_2.0.3 withr_2.1.2 lazyeval_0.2.2
[29] cli_2.0.2 magrittr_1.5 crayon_1.3.4 readxl_1.3.1
[33] fansi_0.4.1 fs_1.3.2 nlme_3.1-140 MASS_7.3-51.4
[37] gplots_3.0.3 xml2_1.2.5 tools_3.6.1 registry_0.5-1
[41] data.table_1.12.8 hms_0.5.3 lifecycle_0.2.0 reprex_0.3.0
[45] munsell_0.5.0 cluster_2.1.0 compiler_3.6.1 caTools_1.18.0
[49] rlang_0.4.5 grid_3.6.1 iterators_1.0.12 rstudioapi_0.11
[53] htmlwidgets_1.5.1 crosstalk_1.1.0.1 bitops_1.0-6 labeling_0.3
[57] gtable_0.3.0 codetools_0.2-16 DBI_1.1.0 TSP_1.1-9
[61] reshape2_1.4.3 R6_2.4.1 seriation_1.2-8 gridExtra_2.3
[65] lubridate_1.7.4 utf8_1.1.4 KernSmooth_2.23-15 dendextend_1.13.4 [69] stringi_1.4.6 Rcpp_1.0.3 vctrs_0.2.4 gclus_1.3.2
[73] dbplyr_1.4.2 tidyselect_1.0.0

alanocallaghan commented 4 years ago

Cheers. I don't work on Windows often so not sure what the issue might be, but I'll have a look. Have you tried with plotly plots as well, or only heatmaply?

lstolzenburg commented 4 years ago

I just tried plotly and got the same issue. I'll try updating to latest versions of everything and see if that fixes it. Thanks so much for your help.

alanocallaghan commented 4 years ago

Cheers, best of luck!