Find the node in a graph with the greatest number of edges
mostEdges finds the node that has the most edges in the graph.
This is the node with the highest degree.
- the graph object
- the index of the node with the most edges
- the node value with the most edges; may be affy id, locus link id, or genename depending on the node type
- the number of edges for that node
set.seed(123) g1 <- randomGraph(11:30, letters[20:26], p=.4) mostEdges(g1)
Looks like there are no examples yet.