
Filters the output of network() to a minimal threshold and transforms to matrix for downstream clustering or heatplot visualization.
Source: R/network.R
filter_network.RdFilters the output of network() to a minimal threshold
and transforms to matrix for downstream clustering or heatplot visualization.
Arguments
- network
network object generated by
network().- threshold
absolute value of correlations below this threshold are
- fdr
the threshold for false discovery rate (if pvalues are calculated for the network) filtered out.
- ...
Arguments passed on to
stats::p.adjustpnumeric vector of p-values (possibly with
NAs). Any other R object is coerced byas.numeric.methodcorrection method, a
characterstring. Can be abbreviated.nnumber of comparisons, must be at least
length(p); only set this (to non-default) when you know what you are doing!