datastorm-open / visNetwork

R package, using vis.js library for network visualization
Other
544 stars 126 forks source link

Node removal in R & counting number of edges connected to a node #430

Open minna-miha opened 2 years ago

minna-miha commented 2 years ago

Hi all,

I am using abundance data for benthic genera in an effort to better under the role of particular species in the community.

I am trying to see how the removal of a node influences the structure of the network. How can I do this? I was able to use visnetwork in R and interactively remove a node, but it simply removes the node without restructuring the network based on the absence of that genera, which is what I'm hoping to do.

Also, how can I determine how many edges are connected to a given node?

Apologies if this information is already online, but I haven’t been able to find how to do this in a way that make sense to me. Not super familiar with R, coding, and totally new to network analyses.

Thanks!