.degreeGeneric | R Documentation |
The assumption to use this function is that the network represented by a matrix is symetric and without any connection the node and itself.
.degreeGeneric(
fun = stats::cor,
funPrefix = "operator",
xdata,
cutoff = 0,
considerUnweighted = FALSE,
chunks = 1000,
forceRecalcDegree = FALSE,
forceRecalcNetwork = FALSE,
nCores = 1,
...
)
fun |
function that will calculate the edge weight between 2 nodes |
funPrefix |
used to store low-level information on network as it can become to large to be stored in memory |
xdata |
calculate correlation matrix on each column |
cutoff |
positive value that determines a cutoff value |
considerUnweighted |
consider all edges as 1 if they are greater than 0 |
chunks |
calculate function at batches of this value (default is 1000) |
forceRecalcDegree |
force recalculation of penalty weights (but not the network), instead of going to cache |
forceRecalcNetwork |
force recalculation of network and penalty weights, instead of going to cache |
nCores |
number of cores to be used |
... |
extra parameters for fun |
a vector of the degrees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.