[R] GraphNEL object retrieve edgenumber from acc() or is it list of lists?
risclab
schaefe9 at cs.uni-bonn.de
Thu Nov 1 21:23:30 CET 2012
Hello everyone,
Im working with graphNEL object and want to extract all the nodes which
have adjacent nodes with at least 20 nodes in between them.
acc(graph, graphnodes) obviously provides a list for the accessable
nodes of every node from a node and a number of the edges between them.
Like this:
$`hsa:8379`
hsa:100131844 hsa:10393 hsa:246184 hsa:29882 hsa:29945
1 1 1 1 1
hsa:51433 hsa:51434 hsa:51529 hsa:64682 hsa:8697
1 1 1 1 1
$`hsa:51343`
hsa:23594 hsa:23595 hsa:5001 hsa:5000 hsa:4999 hsa:4998
8 8 8 8 8 8
and so on. However I want know access the numbers so that I can compare
these
edgenumbers and only retrieve the nodes with an accessable node with at
least
20 edges as mentioned above. How can I achieve this? In addtion whats the
data
type of the result of acc(). Is it a list in a list?
Thank you
--
View this message in context: http://r.789695.n4.nabble.com/GraphNEL-object-retrieve-edgenumber-from-acc-or-is-it-list-of-lists-tp4648174.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list