Displaying 1 result from an estimated 1 matches for "at5g13740".
Did you mean:
at5g13120
2012 Feb 22
0
package igraph function neighbors() pb with indices
...t; "AT3G02470" "AT3G30775" "AT3G18290"
"AT4G13770" "AT1G01580" "AT4G19690" "AT1G56430" "AT3G56970"
[11] "AT3G02468" "AT2G43590" "AT4G32410" "AT5G25610" "AT5G13750"
"AT5G13740" "AT4G38770" "AT5G02780"
I want to know the neighbors of my vertices.
I have :
> neighbors(g,0)
[1] 4 7 9 17
AND also :
> V(g)$name[0]
character(0)
That 1st confused me, but I thought that indices count from 1 with the V()
function but from 0 in the neighbors()...