Closed demar01 closed 1 year ago
What's your sessionInfo()
? Plotting did require some recent packages, as far as I can remember.
sessionInfo()
#> R version 4.1.0 (2021-05-18)
#> Platform: x86_64-apple-darwin17.0 (64-bit)
#> Running under: macOS Big Sur 10.16
#>
#> Matrix products: default
#> BLAS: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.dylib
#> LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
#>
#> locale:
#> [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] knitr_1.33 magrittr_2.0.1 rlang_0.4.11 fansi_0.5.0
#> [5] stringr_1.4.0 styler_1.5.1 highr_0.9 tools_4.1.0
#> [9] xfun_0.25 utf8_1.2.2 withr_2.4.2 htmltools_0.5.1.1
#> [13] ellipsis_0.3.2 yaml_2.2.1 digest_0.6.27 tibble_3.1.3
#> [17] lifecycle_1.0.0 crayon_1.4.1 purrr_0.3.4 vctrs_0.3.8
#> [21] fs_1.5.0 glue_1.4.2 evaluate_0.14 rmarkdown_2.10
#> [25] reprex_2.0.1 stringi_1.7.3 compiler_4.1.0 pillar_1.6.2
#> [29] backports_1.2.1 pkgconfig_2.0.3
Created on 2021-10-22 by the reprex package (v2.0.1)
Hello Maria, @demar01
As Laurent mentioned, the plot
function was only recently implemented in the QFeatures
package (v1.3.5
, see NEWS file). Make sure to load scp
first before sending your sessionInfo()
, because I cannot see what version of QFeatures
you are using, but I suspect you are working with QFeatures<1.3.5
.
The best thing to do is to use BiocManager
with the version 3.14
of Bioconductor (currently devel, but will become a stable release end of the week).
BiocManager::install(version = "3.14")
BiocManager::version() # should return "3.14"
BiocManager::install("scp")
Meanwhile this functionality is available from stable releases and version constraints on dependencies have been updated. If the problem persists, please reinstall the latest QFeatures and scp (stable) versions from Bioconductor.
Hi @cvanderaa
I got this error when trying to plot scp. Thanks for your work improving scp!!
Created on 2021-10-22 by the reprex package (v2.0.1)