updateGraph & deprecated edgemode slot
1
0
Entering edit mode
Paul Shannon ★ 1.1k
@paul-shannon-578
Last seen 10.2 years ago
When I access one of my graph objects, using graph 1.18.1, I am encouraged to run 'updateGraph': > g.greenblatt A graphNEL graph with directed edges Number of Nodes = 3672 Number of Edges = 28634 Warning messages: 1: The edgemode slot is deprecated. Use 'updateGraph' to update this graph object. 2: The edgemode slot is deprecated. Use 'updateGraph' to update this graph object. So I try to do so, assuming (first) that my graphNEL will be modified in place > updateGraph (g.greenblatt) A graphNEL graph with directed edges Number of Nodes = 3672 Number of Edges = 28634 Warning messages: 1: The edgemode slot is deprecated. Use 'updateGraph' to update this graph object. 2: The edgemode slot is deprecated. Use 'updateGraph' to update this graph object. But no luck. I still get the warning: > g.greenblatt A graphNEL graph with directed edges Number of Nodes = 3672 Number of Edges = 28634 Warning messages: 1: The edgemode slot is deprecated. Use 'updateGraph' to update this graph object. 2: The edgemode slot is deprecated. Use 'updateGraph' to update this graph object. Just to be sure, I test the possibility that updateGraph returns an updated copy. It seems so, but the warning is still present: > g.greenblatt.new = updateGraph (g.greenblatt) > g.greenblatt.new A graphNEL graph with directed edges Number of Nodes = 3672 Number of Edges = 28634 Warning messages: 1: The edgemode slot is deprecated. Use 'updateGraph' to update this graph object. 2: The edgemode slot is deprecated. Use 'updateGraph' to update this graph object. Any advice? Thanks - - Paul
graph graph • 1000 views
ADD COMMENT
0
Entering edit mode
Tony Chiang ▴ 570
@tony-chiang-1769
Last seen 10.2 years ago
try this g.greenblatt = updateGraph (g.greenblatt) On Tue, Jul 1, 2008 at 8:03 PM, Paul Shannon <pshannon@systemsbiology.org> wrote: > When I access one of my graph objects, using graph 1.18.1, I am encouraged > to > run 'updateGraph': > > > > g.greenblatt > A graphNEL graph with directed edges > Number of Nodes = 3672 > Number of Edges = 28634 > Warning messages: > 1: The edgemode slot is deprecated. Use 'updateGraph' to update this > graph object. > 2: The edgemode slot is deprecated. Use 'updateGraph' to update this > graph object. > > So I try to do so, assuming (first) that my graphNEL will be modified in > place > > > updateGraph (g.greenblatt) > A graphNEL graph with directed edges > Number of Nodes = 3672 > Number of Edges = 28634 > Warning messages: > 1: The edgemode slot is deprecated. Use 'updateGraph' to update this > graph object. > 2: The edgemode slot is deprecated. Use 'updateGraph' to update this > graph object. > > But no luck. I still get the warning: > > > g.greenblatt > A graphNEL graph with directed edges > Number of Nodes = 3672 > Number of Edges = 28634 > Warning messages: > 1: The edgemode slot is deprecated. Use 'updateGraph' to update this > graph object. > 2: The edgemode slot is deprecated. Use 'updateGraph' to update this > graph object. > > Just to be sure, I test the possibility that updateGraph returns an updated > copy. > It seems so, but the warning is still present: > > > g.greenblatt.new = updateGraph (g.greenblatt) > > g.greenblatt.new > A graphNEL graph with directed edges > Number of Nodes = 3672 > Number of Edges = 28634 > Warning messages: > 1: The edgemode slot is deprecated. Use 'updateGraph' to update this > graph object. > 2: The edgemode slot is deprecated. Use 'updateGraph' to update this > graph object. > > Any advice? > > Thanks - > > - Paul > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > [[alternative HTML version deleted]]
ADD COMMENT

Login before adding your answer.

Traffic: 769 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6