|
From: | Tamas Nepusz |
Subject: | Re: [igraph] Question on importing edgelists |
Date: | Tue, 5 Feb 2008 13:42:27 +0100 |
Hi Richard,
Use the output of igraph_degree to detect isolated vertices (with degree 0) and then use igraph_subgraph to get rid of them. Of course this works only if there were no isolated vertices in the original dataset, otherwise it would remove those as well.node components... the output of the igraph_clusters routine seems to report this. Is there a work around or a routine to re-sequence the node numbers in igraph?
Best, -- Tamas
[Prev in Thread] | Current Thread | [Next in Thread] |