Ex handouts igraph solution: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

5 March 2024

  • curprev 15:0615:06, 5 March 2024WikiSysop talk contribs 2,479 bytes +2,479 Created page with "= Part 1 - network from AP/MS data = Interaction data from exercise 5 and edge scores from exercise 6 <pre style="overflow:auto;"> library(igraph) library(ggraph) ex5_interactions <- data.frame(from = c("A", "B", "B", "B", "B", "B", "D", "D", "E", "F", "F"), to = c("B", "C", "D", "E", "F", "H", "F", "G", "H", "G", "H"), score = c(-0.155, -0.234, -0.222, -0.183, -0.183, -0.183, -0.301, -0.194, -0.301, -0.301, -0.301)) g <- graph_from_data_frame(ex5_interactions, d..."