В Mon, 26 Feb 2024 11:52:13 +0100
пишет:
> TIFFOpen: figures/AES_network_bymembership.tiff: Cannot open.
> Warning message:
> In dev.off() :
> unable to open TIFF file 'figures/AES_network_bymembership.tiff'
In the current directory (see getwd()), is there a subdirectory named
"figures"? Do y
ruary 26, 2024 10:15 AM
To: SIBYLLE STÖCKLI via R-help
Cc: sibylle.stoec...@gmx.ch
Subject: Re: [R] igraph_vertex
В Mon, 26 Feb 2024 09:02:56 +0100
SIBYLLE STÖCKLI via R-help пишет:
> In the following code, which loads the tiff file, I get the following
> error
This warning is definitel
В Mon, 26 Feb 2024 09:02:56 +0100
SIBYLLE STÖCKLI via R-help пишет:
> 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?
>
="batlow")))+
theme(plot.background = element_rect(fill = "black"),
legend.position = "right",
panel.background = element_rect(fill = "black"))
dev.off()
-Original Message-
From: R-help On Behalf Of Kimmo Elo
Sent: Monday, Februa
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 +, Kimmo Elo kirjoitti:
>
> Hi again,
>
> your code is still not reproducible without modificati
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
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(s
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:
ne
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 forgott
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.
Error in intI(i, n = x@Dim[1], dn[[1]], give.dn = FALSE) :
Index größer als maximales 6
Kind regards
Sibylle
Working example
library(circlize)
library(ggplot2)
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 o
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,
+ ve
12 matches
Mail list logo