View source: R/13_network_edge_node.R
interaction_to_edges | R Documentation |
split interactions by sep paramter,return edges data.frame
interaction_to_edges(df, a = 1, b = 2, sep = ",")
df |
interactions data.frame |
a |
column to replicate |
b |
column to split |
sep |
a character string to separate b column |
a new data.frame with two column ,one interaction by one rows
Xiaojie Sun
edges_to_nodes
df = data.frame(a = c("gene1","gene2","gene3"),
b = c("d,f,a,b",
"c,e,g",
"a,b,d"))
interaction_to_edges(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.