Description Usage Arguments Value Examples
View source: R/filter_network.R
The function filters out the rows or columns of a matrix such that the size of the group is exclusively between given min and max values
1 | filter_network(network, flag = 1, min = 0, max = 1, ids = NA)
|
network |
numeric matrix |
flag |
numeric 1 for row filtering, 2 for column filtering |
min |
numeric value |
max |
numeric value |
ids |
array to filter on |
network numeric matrix
1 2 | net <- matrix( rnorm(10000), nrow=100)
filt_net <- filter_network(net,1,10,100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.