From a4f717b6374fc1849f6e3316a3f97c4cf98371e0 Mon Sep 17 00:00:00 2001 From: Julien Chiquet Date: Tue, 30 Jan 2024 11:23:45 +0100 Subject: [PATCH] temporary fix: suppressWarnings from igraph --- R/utils_plot.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils_plot.R b/R/utils_plot.R index 4a40f7d..3197bd2 100644 --- a/R/utils_plot.R +++ b/R/utils_plot.R @@ -652,7 +652,7 @@ plotMesoMultipartite <- function(E,theta, list_pi,v_distrib,directed,nbNodes,nod colnames(alpha.norm) <- rownames(alpha.norm) <- labelNode - g <- igraph::graph.adjacency(alpha.norm, mode = 'directed', weighted = TRUE,diag = TRUE) + g <- suppressWarnings(igraph::graph.adjacency(alpha.norm, mode = 'directed', weighted = TRUE, diag = TRUE)) if (is.null(layout)){layout <- igraph::layout_with_fr(g)} u <- unlist(lapply(1:nbFG, function(p){list_pi[[p]]*10}))