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.Rd
Filters 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.adjust
p
numeric vector of p-values (possibly with
NA
s). Any other R object is coerced byas.numeric
.method
correction method, a
character
string. Can be abbreviated.n
number of comparisons, must be at least
length(p)
; only set this (to non-default) when you know what you are doing!