OrderNames: OrderNames

Description Usage Arguments Value Author(s) Examples

Description

Sorts each link's Nodes by the smallest value. Removes links that both nodes are the same.

Usage

1

Arguments

M

data.frame to have the names ordered. Node.1, Node.2 and correlation value.

Value

a data.table whith Node.1 and Node.2, sorted by the smallest value between both.

Author(s)

Deisy Morselli Gysi <deisy at bioinf.uni-leipzig.de>

Examples

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)

CoDiNA documentation built on July 15, 2020, 5:07 p.m.

Related to OrderNames in CoDiNA...