similar to: geom_edge & color

Displaying 20 results from an estimated 400 matches similar to: "geom_edge & color"

2024 Mar 22
1
geom_edge & color
Dear community Find enclosed the full working example. Many thanks Sibylle Test_cat.csv Names Subcategory_type sources.cyto source Factor A.A material "A" A 1 B.B material "B" B 1 C.C regulation "C" C 1 D.D regulation "D" D 1 E.E habitat "E" E 1 F.F cultural "F" F 1 Test_adjac.csv
2024 Mar 22
1
geom_edge & color
Hi, this seems to work (assuming that your problem was the setting of colours...): --- snip --- network %>% ggraph(., layout = "auto") + # This produces an error... # geom_edge_arc(curvature=0.3, aes(width=(E(network)$weight/10), color=c("darkblue", "red")[as.factor(edge_list$relationship)], alpha=0.5)) + # ... this works :-)
2024 Mar 21
1
geom_edge & color
Dear Sibylle, your example is not working! E.g. no data for "aes_collapsed". Best, Kimmo ke, 2024-03-20 kello 19:28 +0100, SIBYLLE ST?CKLI via R-help kirjoitti: > Dear community > > I am using ggraph to plot a network analysis. See part 2 in the working > example. > Besides different colors for different groups of nodes: > --> geom_node_point(aes(size =
2024 Feb 24
1
igraph_vertex
The reason html is specifically advised against as a format is that it does things like mangling data such as is happening in your example. You should repost using settings on you mail client for plain-text. Your code should start by loading necessary packages. You should also not post screen output versions of code since that will insert lots of superfluous "+"'s. Some but not
2024 Feb 26
1
igraph_vertex
Hi, a quick additional note: try "edge.width= E(.)$weight" instead of the current "edge.width= network". Seems to work and makes a visible difference... HTH, Kimmo su, 2024-02-25 kello 19:11 +0000, Kimmo Elo kirjoitti: > > Hi again, > > your code is still not reproducible without modifications, but I > succeed in getting the data straight. All
2024 Feb 25
1
igraph_vertex
Dear coummunity Thanks a lot to David and Kimmo. Yes I see now that I need to provide the two raw tables. Find here the reproducible example. Kind regards Sibylle # R-labraries library(circlize) library(ggplot2) library(igraph) library(tidyverse) library(RColorBrewer) library(stringi) library(scico) library(plotly) library(ggraph) # Tables aes<-read.csv("Test_adjac.csv",
2024 Feb 25
1
igraph_vertex
Hi again, your code is still not reproducible without modifications, but I succeed in getting the data straight. All read.csv-command are missing 'sep="\t"', it is need to read you tsv-data. And it could be more reproducible if you used e.g. --- snip --- aes<-read.csv(text=" A.A B.B C.C D.D E.E F.F A.A 0 0 5 5 5 5 B.B 4 0 1 1 1 1 C.C 5 5 0 5 4 2 D.D 5 0 5 0 5 3 E.E
2024 Feb 24
1
igraph_vertex
On 2/24/24 12:10, Kimmo Elo wrote: > Hi, > > first of all, your example was not reproducible! But once I added > "library(igraph)" and "library(scico)" plus generally replaced > "aes_collapsed" by "edge_list", I started to work :-) After copying your lead in that replacement the error I got was: network <-
2024 Feb 24
2
igraph_vertex
Dear R-community It would be nice to get some input how to find a solution for the following error in igraph and vertex setting. Thank you very much Sibylle > par(bg="black") > network %>% plot( + vertex.color=clrs[V(.)$community], + vertex.size=V(.)$hub_score*1, + vertex.frame.color=V(.)$color, + vertex.label.color="white", +
2024 Feb 24
1
igraph_vertex
Hi, first of all, your example was not reproducible! But once I added "library(igraph)" and "library(scico)" plus generally replaced "aes_collapsed" by "edge_list", I started to work :-) Anyway, the error is produced by this line: + edge.width= network, It seems to me that you have forgotten to name a variable here (you now use the whole network
2024 Feb 26
1
igraph_vertex
Dear Kimmo First of all many thanks for the valuable advice to publish code and csv. Noted. Yes, "edge.width= E(.)$weight" makes definitively sense. In the following code, which loads the tiff file, I get the following error tiff("figures/AES_network_bymembership.tiff", width=1000, height=700, res=120) Warning message: In doTryCatch(return(expr), name, parentenv, handler) :
2017 Jul 06
0
Question about correlation
Please keep the conversation on the list: Others may be able to help you better than I can. On 2017-07-06 10:38, SEB140004 Student wrote: > Ya. I had successfully got the result. Thank you very much. :) > > Isn't possible for me to obtain the network from the correlation matrix? I know nothing about correlation networks, but by googling I found two R packages, ggraph and corrr,
2020 Apr 29
2
problem with `viridis` on Ubuntu 20.04
I've hit a bug on Ubuntu 20.04. The issue occurred both with the R version that shipped with Ubuntu last week, and it is occurring now with the CRAN packages from one of the mirros (deb http://cran.mirror.garr.it/mirrors/CRAN/bin/linux/ubuntu/ focal-cran40/). The issue occurs whether I use the deb package for viridis in the Ubuntu repos, or I install it with `install.packages()` in R.
2020 Apr 29
0
problem with `viridis` on Ubuntu 20.04
On 30 April 2020 at 01:24, Samuele Carcagno wrote: | I've hit a bug on Ubuntu 20.04. The issue occurred both with the R | version that shipped with Ubuntu last week, and it is occurring now with | the CRAN packages from one of the mirros (deb | http://cran.mirror.garr.it/mirrors/CRAN/bin/linux/ubuntu/ | focal-cran40/). The issue occurs whether I use the deb package for | viridis in the
2020 Apr 30
2
problem with `viridis` on Ubuntu 20.04
Il 30/04/20 01:39, Dirk Eddelbuettel ha scritto: > > On 30 April 2020 at 01:24, Samuele Carcagno wrote: > | I've hit a bug on Ubuntu 20.04. The issue occurred both with the R > | version that shipped with Ubuntu last week, and it is occurring now with > | the CRAN packages from one of the mirros (deb > | http://cran.mirror.garr.it/mirrors/CRAN/bin/linux/ubuntu/ > |
2020 Apr 30
0
problem with `viridis` on Ubuntu 20.04
On 30 April 2020 at 03:05, Samuele Carcagno wrote: | Il 30/04/20 01:39, Dirk Eddelbuettel ha scritto: | > Keep. It. Simple. And. Concise. | > | > And reproducible. | | I've attached a script that triggers the bug on my system. It's just two | lines, one to load `viridisLite`, and one to call the `viridis` | function. I've also attached the output of `sessionInfo`. | | To
2023 May 31
1
scale_colour_viridis en ggplot2
De acuerdo a Bard; ? scale_colour_viridis_d: Esta función utiliza la paleta de colores "viridis" en una escala continua, donde los colores varían de forma suave y continua. Es adecuada para representar datos en los que se desea resaltar las variaciones sutiles en los valores de la variable. ? scale_colour_viridis_c: Esta función también utiliza la paleta de colores
2020 Apr 30
4
problem with `viridis` on Ubuntu 20.04
Il 30/04/20 03:14, Dirk Eddelbuettel ha scritto: > > On 30 April 2020 at 03:05, Samuele Carcagno wrote: > | Il 30/04/20 01:39, Dirk Eddelbuettel ha scritto: > | > Keep. It. Simple. And. Concise. > | > > | > And reproducible. > | > | I've attached a script that triggers the bug on my system. It's just two > | lines, one to load `viridisLite`, and one to
2020 Apr 30
0
problem with `viridis` on Ubuntu 20.04
On 30 April 2020 at 16:40, Samuele Carcagno wrote: | after some further investigation I found out that the issue was related | to some calls to the `solve` function in `make.rgb`, and indeed running | `example(solve)` would hang my R session. After I changed the default | BLAS with: | | sudo update-alternatives --config libblas.so.3-x86_64-linux-gnu | | the problem disappeared. The BLAS
2023 May 31
2
scale_colour_viridis en ggplot2
Hola a todos: Alguién me podría explicar cuales son las diferencias entre las diferentes escalas de viridis en ggplot2, es decir en qué se diferencian scale-colour_viridis_d de scale_colour_viridis_c, scale_colour_viridis_b. Y cual es la diferencia entre scale-fiil-viridis_d de scale-fill_viridis_c y de scale_fill_viridis-b. He estado buscando la diferencia en internet y no he encontrado nada al