Description
Hi,
I have an un-directed graph which produces an image with a single central node and many vertices. The code I used two weeks ago no longer produces that image and instead I receive the error "Error in graph_to_tree(graph, mode = direction) : Graph must be directed".
When using plot
from igraph
I receive the same image that I previously received using ggraph
I updated ggraph and I still nothing, any ideas?
`> sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.4 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] viridis_0.5.1 viridisLite_0.3.0 ggrepel_0.8.2 ggraph_2.0.3 igraph_1.2.5 corrr_0.4.2
[7] forcats_0.5.0 stringr_1.4.0 purrr_0.3.4 readr_1.3.1 tibble_3.0.1 tidyverse_1.3.0
[13] ggplot2_3.3.1 data.table_1.12.8 reshape_0.8.8 pheatmap_1.0.12 tidyr_1.1.0 dplyr_1.0.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.4.6 lubridate_1.7.8 lattice_0.20-41 assertthat_0.2.1 digest_0.6.25
[6] ggforce_0.3.1 R6_2.4.1 cellranger_1.1.0 plyr_1.8.6 backports_1.1.7
[11] reprex_0.3.0 httr_1.4.1 pillar_1.4.4 rlang_0.4.6 readxl_1.3.1
[16] rstudioapi_0.11 blob_1.2.1 Matrix_1.2-18 BiocParallel_1.18.1 polyclip_1.10-0
[21] munsell_0.5.0 broom_0.5.6 compiler_3.6.3 modelr_0.1.8 pkgconfig_2.0.3
[26] tidyselect_1.1.0 gridExtra_2.3 graphlayouts_0.7.0 fansi_0.4.1 crayon_1.3.4
[31] dbplyr_1.4.4 withr_2.2.0 MASS_7.3-51.6 grid_3.6.3 nlme_3.1-147
[36] jsonlite_1.6.1 gtable_0.3.0 lifecycle_0.2.0 DBI_1.1.0 magrittr_1.5
[41] scales_1.1.1 cli_2.0.2 stringi_1.4.6 farver_2.0.3 fs_1.4.1
[46] xml2_1.3.2 ellipsis_0.3.1 generics_0.0.2 vctrs_0.3.0 RColorBrewer_1.1-2
[51] tools_3.6.3 glue_1.4.1 tweenr_1.0.1 hms_0.5.3 parallel_3.6.3
[56] yaml_2.2.1 colorspace_1.4-1 tidygraph_1.2.0 rvest_0.3.5 haven_2.3.1`