pruneNetByStrongest {netDx} | R Documentation |
Prune network by retaining strongest edges
pruneNetByStrongest(net, vertices, topX = 0.1)
net |
(data.frame) Network to prune. Columns are: source,target,weight |
vertices |
(char) node names. Should match those in net[,1:2] |
topX |
(numeric 0 to 1) Fraction of strongest edges to retain |
(data.frame) pruned network. Three columns: AliasA, AliasB, and weight