View source: R/network_reduction.R
network_reduction_by_pickHardThreshold | R Documentation |
[INTERNAL] This function uses pickHardThreshold.fromSimilarity
to analyze
scale free topology for multiple hard thresholds. A cutoff is estimated, if no cutoff is
found the function terminates with an error message. All values below the cutoff will be set to NA and the
reduced adjacency is returned.
network_reduction_by_pickHardThreshold( adjacency_matrix, r_squared_cutoff = 0.85, cut_vector = seq(0.2, 0.8, by = 0.01), mean_number_edges = NULL, edge_density = NULL )
adjacency_matrix |
[matrix] Adjacency matrix of correlations computed using |
r_squared_cutoff |
[float] A number indicating the desired minimum scale free topology fitting index R^2 for reduction
using |
cut_vector |
[sequence of float] A vector of hard threshold cuts for which the scale free topology fit indices are to
be calculated during reduction with |
mean_number_edges |
[int] Find a suitable edge weight cutoff employing |
edge_density |
[float] Find a suitable edge weight cutoff employing |
A reduced adjacency matrix of correlations with NA's inserted at positions below estimated cutoff.
The original implementation of pickHardThreshold is used from
pickHardThreshold.fromSimilarity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.