سؤال

I'm trying to plot a dendrogram of a community that was detected using fastgreedy.community, but I would like to have the branches labeled with the community number they correspond to.

Is there any way to do this automatically?

هل كانت مفيدة؟

المحلول

Check out this post. It seems to have everything that you would want. Hope it helps.

Creating a legend for a dendrogram with coloured leaves in r

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top