Thank you so much, Gabor.
It works well!
--
View this message in context:
http://r.789695.n4.nabble.com/Questons-about-igraph-package-tp3814338p3816219.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
h
The 'name' attribute is not used for vertex labels by default. If you
want to use it, you need to set it as the 'label' attribute as well,
or supply them in the function call:
tkplot(graph, vertex.label=V(graph)$name)
Best,
Gabor
On Wed, Sep 14, 2011 at 7:11 PM, karena wrote:
> Hi,
>
> I am usi
Hi,
I am using 'igraph' to make some plots. The problem I got is that I don't
know how to label the nodes with gene names.
My sample code:
## suppose I have 100 gene (nodes) ##
---
graph <- set.vertex.attribute(graph, "color
3 matches
Mail list logo