[BioC] ftM2graphNEL unexpected error

Dan Bebber danbebber at forestecology.co.uk
Tue Feb 6 18:11:02 CET 2007


I have a set of 429 links (matrix ft with 'from' and 'to' nodes), a set of
281 nodes n, and a set of 429 link weights w.
I wish to create graphs using subsets of the links. Sometimes this works,
sometimes not (see below). Essentially, if too few links are included then
the graphNEL object is not created.
If anyone would like the data, I can email them directly.

Any help greatly appreciated.

Dan Bebber

using R 2.4.1 and graph 2.4.0

------------------------------------------------------------------------------------------------

> ftM2graphNEL(ft[1:429,], V=n, W=w[1:429], edgemode="undirected")
A graphNEL graph with undirected edges
Number of Nodes = 281
Number of Edges = 429

> ftM2graphNEL(ft[1:420,], V=n, W=w[1:420], edgemode="undirected")
A graphNEL graph with undirected edges
Number of Nodes = 281
Number of Edges = 420

> ftM2graphNEL(ft[1:220,], V=n, W=w[1:220], edgemode="undirected")
The graph is undirected and the following edges are not reciprocated:
 58|62, 57|62



More information about the Bioconductor mailing list