Session Ready
Exercise

Finding cliques (II)

Great work! Let's continue by finding a particular maximal clique, and then plotting that clique.

Instructions
100 XP
  • Find the author(s) that are part of the largest maximal clique, and plot the subgraph of that/one of those clique(s) using a CircosPlot. To do this:
    • Use the nx.find_cliques() function to calculate the maximal cliques in G. Place this within the provided sorted() function to calculate the largest maximal clique.
    • Create the subgraph consisting of the largest maximal clique using the .subgraph() method and largest_clique.
    • Create the CircosPlot object using the subgraph G_lc (without any other arguments) and plot it.