Description Usage Arguments Value Author(s) Examples
Sorts each link's Nodes by the smallest value. Removes links that both nodes are the same.
1 | OrderNames(M)
|
M |
data.frame to have the names ordered. Node.1, Node.2 and correlation value. |
a data.table whith Node.1 and Node.2, sorted by the smallest value between both.
Deisy Morselli Gysi <deisy at bioinf.uni-leipzig.de>
1 2 3 4 | Nodes = LETTERS[1:10]
Z = data.frame(Node.1 = sample(Nodes) ,
Node.2 = sample(Nodes), cor = runif(10,-1,1))
OrderNames(Z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.