Colouring Clusters – Python

The Graph file The Python bit The Graph

data science

Colouring Nodes According to Centrality – R

This R function will draw a graph and then colour the nodes according to centrality. There are three colours, red for high centrality, purple for medium centrality, and blue for low centrality. Node centrality was calculated using the betweenness( ) function in the igraph R library. It was then normalised manually so that we are […]