Description Usage Arguments Details Value Examples
cleaner sparsification routine
1 2 3 4 5 6 7 8 9 |
W |
(matrix) similarity matrix |
outFile |
(char) path to file to write sparsified network |
cutoff |
(numeric) edges with weight smaller than this are set to NA |
maxInt |
(numeric) max num edges per node. |
EDGE_MAX |
(numeric) max num edges in network |
includeAllNodes |
(logical) if TRUE, ensures at least one edge is present for each patient. This feature is required when sparsification excludes test patients that are required to be classified. If the sparsification rules exclude all edges for a patient and this flag is set, then the strongest edge for each missing patient is added to the net. Note that this condition results in the total number of edges potentially exceeding EDGE_MAX |
verbose |
(logical) print detailed messages, useful for debugging |
Sparsifies similarity matrix to keep strongest edges. Sets diagonal and edges < cutoff to NA. Keeps strongest maxInt edges per node. Ties are ignored. Keeps a max of EDGE_MAX edges in the network.
writes SIF content to text file (node1,node2,edge weight)
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.