Description Usage Arguments Value
View source: R/pruneNet_pctX.R
Prune network by retaining strongest edges
1 | pruneNet_pctX(net, vertices, pctX = 0.1, useTop = TRUE)
|
net |
(data.frame) Network to prune. Columns are: source,target,weight |
vertices |
(char) node names. Should match those in net[,1:2] |
pctX |
(numeric 0 to 1) Fraction of top/bottom edges to retain |
useTop |
(logical) if TRUE prunes to top pctX edges; else prunes to bottom pctX edges |
(data.frame) pruned network. Three columns: AliasA, AliasB, and weight
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.