On Mon, Mar 28, 2011 at 3:12 PM, karena <dr.jz...@gmail.com> wrote: > One more question is: > > when you plot the gene network, you only get a number on each node, then how > can you match the numbers to the genes?
V(g)$name gives the vertex names, in the order of vertex ids. E.g. here is how to create a simple mapping matrix: cbind(V(g), V(g)$name) Best, Gabor > thank you very much, > > Karena > > -- > View this message in context: > http://r.789695.n4.nabble.com/Questions-about-igraph-package-tp3412734p3412745.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Gabor Csardi <csa...@rmki.kfki.hu> MTA KFKI RMKI ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.