Displaying 10 results from an estimated 10 matches for "igraph_vertex".
2024 Feb 26
1
igraph_vertex
...'figures/AES_network_bymembership.tiff'
Kind regards
Sibylle
-----Original Message-----
From: Ivan Krylov <ikrylov at disroot.org>
Sent: Monday, February 26, 2024 10:15 AM
To: SIBYLLE ST?CKLI via R-help <r-help at r-project.org>
Cc: sibylle.stoeckli at gmx.ch
Subject: Re: [R] igraph_vertex
? Mon, 26 Feb 2024 09:02:56 +0100
SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????:
> In the following code, which loads the tiff file, I get the following
> error
This warning is definitely worth investigating, but it shouldn't interrupt your code. Does the figure com...
2024 Feb 26
1
igraph_vertex
? Mon, 26 Feb 2024 09:02:56 +0100
SIBYLLE ST?CKLI via R-help <r-help at r-project.org> ?????:
> In the following code, which loads the tiff file, I get the following
> error
This warning is definitely worth investigating, but it shouldn't
interrupt your code. Does the figure come out wrong after you see this
warning?
> In doTryCatch(return(expr), name, parentenv, handler) :
2024 Feb 26
1
igraph_vertex
...osition = "right",
panel.background = element_rect(fill = "black"))
dev.off()
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of Kimmo Elo
Sent: Monday, February 26, 2024 8:10 AM
To: r-help at r-project.org
Subject: Re: [R] 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 no...
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 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 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 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
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
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
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",
+