You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While replicating (running) visualization functions and reporting the results of running them, some questions appeared regarding the rich_club function.
rich_club is similarly implemented in 2 different locations.
scona.graph_measures.rich_club(G)
as a method inside BrainNetwork class
According to docstrings, both implementations do the same thing - Calculate the rich club coefficient of G for each degree between 0 and max([degree(v) for v in G.nodes])
Why are there 2 similar implementations (makes things confusing)?
However, none of these satisfies to make inputs for plot_rich_club. From docstring:
rc and rc_rand are calculated by the rich_club function that is saved within the networkx_functions.py file
So there is no networkx_functions.py file and I am hesitating how can I obtain rc_rand - the random rich club data.
Do I need to make a random graph and then apply one of the above-mentioned rich_club functions in order to make a rc_rand?
The text was updated successfully, but these errors were encountered:
The duplication is probably because we haven't refactored the code yet! That's your summer project 🌞 @Islast is the best person to ask about where it should end up.
Sorry for the short reply - I'm rushing between talks.
As for the inputs to the visualisation functions, the functions were originally written with inputs from certain written out blocks of data. I advise that you scrap these old-style inputs and rewrite the functions to accept input in the format output by the scona functions as they currently exist.
Hi @KirstieJane,
While replicating (running) visualization functions and reporting the results of running them, some questions appeared regarding the
rich_club
function.rich_club
is similarly implemented in 2 different locations.scona.graph_measures.rich_club(G)
BrainNetwork class
According to docstrings, both implementations do the same thing - Calculate the rich club coefficient of G for each degree between 0 and max([degree(v) for v in G.nodes])
Why are there 2 similar implementations (makes things confusing)?
However, none of these satisfies to make inputs for
plot_rich_club
. From docstring:So there is no
networkx_functions.py
file and I am hesitating how can I obtainrc_rand
- the random rich club data.Do I need to make a random graph and then apply one of the above-mentioned
rich_club
functions in order to make arc_rand
?The text was updated successfully, but these errors were encountered: