[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] getting k-connected nodes from a vertex
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] getting k-connected nodes from a vertex |
Date: |
Thu, 06 Dec 2012 10:38:10 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
> HOWEVER, IT IS A LIST OF GRAPHS AND THE NAMES OF THE VERTICES MAY HAVE LOST?
No, they are not lost:
> g <- graph.famous("petersen")
> V(g)$name <- LETTERS[1:10]
> graph.list <- graph.neighborhood(g, 1, "A")
> g2 <- graph.list[[1]]
> V(g2)$name
[1] "A" "B" "E" "F"
> write.graph(g, "edgelist.txt",format="edgelist") so I will obtain some
> resultant files like:
The "edgelist" format uses the numeric vertex IDs, not the names. Use the
"ncol" format instead if you want to print the names.
--
T.
- [igraph] getting k-connected nodes from a vertex, Ross KK Leung, 2012/12/04
- Re: [igraph] getting k-connected nodes from a vertex, Gábor Csárdi, 2012/12/05
- Re: [igraph] getting k-connected nodes from a vertex, Ross KK Leung, 2012/12/06
- Re: [igraph] getting k-connected nodes from a vertex,
Tamas Nepusz <=
- Re: [igraph] getting k-connected nodes from a vertex, Ross KK Leung, 2012/12/06
- Re: [igraph] getting k-connected nodes from a vertex, Tamas Nepusz, 2012/12/06
- Re: [igraph] getting k-connected nodes from a vertex, Ross KK Leung, 2012/12/06
- Re: [igraph] getting k-connected nodes from a vertex, Tamas Nepusz, 2012/12/06
- Re: [igraph] getting k-connected nodes from a vertex, Ross KK Leung, 2012/12/08
- Re: [igraph] getting k-connected nodes from a vertex, Tamás Nepusz, 2012/12/08