Description Usage Arguments Examples
This function adds edges to a previously learned graph.
1 2 3 4 5 6 7 |
g |
Graph object. |
new.edges |
New edges to be added (dataframe with at least two columns: 'from' and 'to'). |
new.genes |
New genes (nodes) will also be included. Otherwise, only edges of nodes already present in the network will be taken into account. Default: TRUE |
to |
Output format (optional): 'adjacency', 'edges', 'graph', 'igraph', or 'bnlearn'. Default: 'igraph' |
from |
Input format (optional): 'auto', 'adjacency', 'edges', 'graph', 'igraph', or 'bnlearn'. Default: 'auto' |
1 | g <- add.edges(g, new.edges)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.