Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in `check_aesthetics() when following Introduction vignette #27

Closed
cbostwick87 opened this issue Jul 11, 2022 · 3 comments
Closed

Comments

@cbostwick87
Copy link

Hello!
I am attempting to follow the Introduction vignette for this package. When I reach the Built-in Quality Control Assessment section and try to plot QC metrics using the command:
girafe( ggobj = autoplot( demoData , "bindingDensity-mean" ) ) (or use any of the other metric types)
I get the error:
Error in check_aesthetics(): ! Aesthetics must be either length 1 or the same as the data (12): tooltip_fill

I would appreciate any help you could provide me to solve this issue. Thank you very much!

My session info:
sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

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

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

other attached packages:
[1] ggiraph_0.8.2 ggthemes_4.2.4 NanoStringNCTools_1.0.0 ggplot2_3.3.6 S4Vectors_0.30.2 Biobase_2.52.0
[7] BiocGenerics_0.38.0

loaded via a namespace (and not attached):
[1] beeswarm_0.4.0 tidyselect_1.1.2 purrr_0.3.4 colorspace_2.0-3 vctrs_0.3.8 generics_0.1.3
[7] htmltools_0.5.1.1 yaml_2.2.1 utf8_1.2.2 rlang_1.0.3 pillar_1.7.0 glue_1.6.2
[13] withr_2.5.0 DBI_1.1.3 RColorBrewer_1.1-3 uuid_1.1-0 GenomeInfoDbData_1.2.6 lifecycle_1.0.1
[19] stringr_1.4.0 zlibbioc_1.38.0 Biostrings_2.60.2 munsell_0.5.0 gtable_0.3.0 htmlwidgets_1.5.4
[25] evaluate_0.15 labeling_0.4.2 IRanges_2.26.0 GenomeInfoDb_1.28.4 vipor_0.4.5 fansi_0.5.0
[31] Rcpp_1.0.8.3 scales_1.2.0 BiocManager_1.30.18 XVector_0.32.0 systemfonts_1.0.4 digest_0.6.27
[37] stringi_1.7.6 dplyr_1.0.7 grid_4.1.0 cli_3.3.0 tools_4.1.0 bitops_1.0-7
[43] magrittr_2.0.1 RCurl_1.98-1.7 tibble_3.1.3 crayon_1.5.1 pkgconfig_2.0.3 ellipsis_0.3.2
[49] pheatmap_1.0.12 ggbeeswarm_0.6.0 assertthat_0.2.1 rstudioapi_0.13 R6_2.5.1 compiler_4.1.0

@NicoleEO
Copy link
Collaborator

Hi @cbostwick87,

This is an error that was trigged by a dependency update. It has been resolved in NanoStringNCTools package versions >=1.1.1. Thanks for your session info! If you update from your above listed version of 1.0.0, this should resolve it. Let me know if you run into any issues.

Thanks,
Nicole

@cbostwick87
Copy link
Author

Hi @NicoleEO.
I have updated R to version 4.2.1, installed rtools 4.2, devtools, and installed the NanoStringNCTools_1.3.1 package using: devtools::install_github("Nanostring-Biostats/NanoStringNCTools", ref = "dev")
and
girafe(ggobj = autoplot(demoData, type = "housekeep-geom")) appears to plot as described. Thank you for your help!

@QuentinA-hub
Copy link

Hi,

I was following the vignette as well and ran into the same issue at the girafe(ggobj = autoplot(demoData, type = "housekeep-geom")) and girafe(ggobj = autoplot(demoData, type = "lane-bindingDensity")) steps.

I have the latest version of NanoStringNCTools package (1.7.1).

Thank you in advance for the kind help.

Here is my sessionInfo:

R version 4.2.2 (2022-10-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.6

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] pheatmap_1.0.12 ggiraph_0.8.5 ggthemes_4.2.4 NanoStringNCTools_1.7.1 ggplot2_3.4.0 S4Vectors_0.36.1
[7] Biobase_2.58.0 BiocGenerics_0.44.0

loaded via a namespace (and not attached):
[1] pkgload_1.3.2 shiny_1.7.4 assertthat_0.2.1 GenomeInfoDbData_1.2.9 vipor_0.4.5 remotes_2.4.2
[7] sessioninfo_1.2.2 pillar_1.8.1 glue_1.6.2 uuid_1.1-0 digest_0.6.31 RColorBrewer_1.1-3
[13] promises_1.2.0.1 XVector_0.38.0 colorspace_2.0-3 htmltools_0.5.4 httpuv_1.6.7 pkgconfig_2.0.3
[19] devtools_2.4.5 zlibbioc_1.44.0 purrr_1.0.0 xtable_1.8-4 scales_1.2.1 processx_3.8.0
[25] later_1.3.0 tibble_3.1.8 generics_0.1.3 farver_2.1.1 IRanges_2.32.0 usethis_2.1.6
[31] ellipsis_0.3.2 cachem_1.0.6 withr_2.5.0 cli_3.6.0 magrittr_2.0.3 crayon_1.5.2
[37] mime_0.12 memoise_2.0.1 ps_1.7.2 fs_1.5.2 fansi_1.0.3 beeswarm_0.4.0
[43] pkgbuild_1.4.0 profvis_0.3.7 tools_4.2.2 prettyunits_1.1.1 lifecycle_1.0.3 stringr_1.5.0
[49] munsell_0.5.0 callr_3.7.3 Biostrings_2.66.0 compiler_4.2.2 GenomeInfoDb_1.34.6 systemfonts_1.0.4
[55] rlang_1.0.6 grid_4.2.2 RCurl_1.98-1.9 rstudioapi_0.14 htmlwidgets_1.6.1 miniUI_0.1.1.1
[61] bitops_1.0-7 labeling_0.4.2 gtable_0.3.1 DBI_1.1.3 curl_4.3.3 R6_2.5.1
[67] dplyr_1.0.10 fastmap_1.1.0 utf8_1.2.2 rprojroot_2.0.3 desc_1.4.2 stringi_1.7.8
[73] ggbeeswarm_0.7.1 Rcpp_1.0.9 vctrs_0.5.1 tidyselect_1.2.0 urlchecker_1.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants