r - Extract just the number of edges in a class graphNEL -
using r have created graphnel class (undirected) nodes , edges. want save numbers gets printed out when print variable undirected graph saved under:
graphnel graph undirected edges number of nodes = 671 number of edges = 4267
i tried using function edgel(), number printed out number of nodes. thinking number because each gene has own amount of edges, why output equals number of nodes. want save number of edges in graph. how can this?
thanks
i not familiar package, looks nodes , edgel returned slots. means should able see data using $ or @ if save graphnel object.
yourgraphobject@edgel
Comments
Post a Comment