get nodes from edges
edges_to_nodes(edges)
nodes data.frame
data.frame
Xiaojie Sun
interaction_to_edges
df = data.frame(a = c("gene1","gene2","gene3"),
b = c("d,f,a,b",
"c,e,g",
"a,b,d"))
edges = interaction_to_edges(df)
nodes = edges_to_nodes(edges)
Run the code above in your browser using DataLab