crosslink.RdAchieve a initialized CrossLink object by providing nodes, edges and cross.by.
crosslink( nodes, edges, cross.by, gaps = NULL, spaces = c("equal", "partition", "flank"), xrange = NULL, yrange = NULL, key.by = 1, src.by = 1, tar.by = 2, odd.rm = FALSE )
| nodes | a data frame with unique keys in the 1st (settable by |
|---|---|
| edges | a data frame with source and target nodes in the first two (settable by |
| cross.by | the name of a column in |
| gaps | a numeric vector of n-1 length, n is the number of crosses (that is |
| spaces | set |
| xrange, yrange | range of x and y. set NULL or NA to ignore this. |
| key.by | name or index of the column in |
| src.by | name or index of the column in |
| tar.by | name or index of the column in |
| odd.rm | remove odd nodes that are not included in edges (without links). |
a CrossLink object