Description Usage Arguments Value Examples
Remove from a graphNEL
object the edge specified.
1 | deleteEdge(graph, from, to)
|
graph |
a graphNEL object. |
from |
a string with the name of the node where the edge start. |
to |
a string with the name of the node where the edge end. |
a graphNEL
object.
1 2 3 4 5 6 7 | if (require(graphite)) {
kegg <- pathways("hsapiens", "kegg")
graph <- pathwayGraph(convertIdentifiers(kegg$'Chronic myeloid leukemia', "entrez"))
head(edges(graph))
## We are going to remove the edge 1026-1019
head(edges(deleteEdge(graph, "ENTREZID:1026", "ENTREZID:1019")))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.