Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A question about within_module_degree() function in ggClusterNet/R/module.roles.R  #1

Open
HuTianlong1994 opened this issue Mar 10, 2022 · 2 comments

Comments

@HuTianlong1994
Copy link

HuTianlong1994 commented Mar 10, 2022

I use the function within_module_degree() to calculate the within modular degree of each node, but when I check the details of this function, I find decompose.graph() was used to decompose the graph. Why decompose.graph() is used here? *decompose.graph() get subgraphs without links between each subgraph. So, the calculated degree of each node is not within modular degree, but within connected subgraph degree. Is there anything wrong? Look forward to your replay.

@xph007
Copy link

xph007 commented Mar 11, 2022 via email

@HuTianlong1994
Copy link
Author

The function "within_module_degree()" is in "ggClusterNet/R/module.roles.R" line73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants