Hi Sam,  

> Vertex sequence:
> [1] "4d5d116b3c5c9722" "4d4fc9df7632d16c" "4f81243a251ab9fc" 
> "4f7e026f82252a3f"
> [5] "4f591a149dc8d90e" "4f68196bff1a2a27" "4f58d1b2f9f8ccea" 
> "4ec6644f3a2c1d22"
> ...
>  
> how do I convert it to a vector? […]
>  
> I need a vector of hex IDs above.
The hex IDs are stored in the "name" attribute of the graph, so all you need to 
do is "vs$name", where vs is the variable storing your vertex sequence. This 
gives you a vector with the values of the given attribute (i.e. "name") for all 
the vertices in the vertex sequence.

Best,
T.


_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to