Description Usage Arguments Value Author(s) Examples
This function notes edges of a graph as reciprocal or not.
1 2 | annotReciprocal(dataGraph, file,
keepOnlyReciprocal = FALSE)
|
dataGraph |
data.frame which contains the graph
description, must have two columns |
file |
file where the graph description is written |
keepOnlyReciprocal |
if TRUE |
This function returns the argument dataGraph
with
an additional column named 'reciprocal' which contains
TRUE if the edge described by the row is reciprocal, and
FALSE if it is not reciprocal.
Anne Biton
1 2 | dg <- data.frame(n1=c("A","B","B","C","C","D","E","F"),n2=c("B","G","A","B","D","C","F","E"))
annotReciprocal(dataGraph=dg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.