View source: R/network_options.R
networkOptions | R Documentation |
Setup network options, such as using weighted or unweighted degree, which centrality measure to use
networkOptions(
method = "pearson",
unweighted = TRUE,
cutoff = 0,
centrality = "degree",
minDegree = 0,
nCores = 1,
transFun = function(x) x,
min.degree = deprecated(),
n.cores = deprecated(),
trans.fun = deprecated()
)
method |
in case of correlation and covariance, which method to use. |
unweighted |
calculate degree using unweighted network. |
cutoff |
cuttoff value in network edges to trim the network. |
centrality |
centrality measure to use, currently only supports degree. |
minDegree |
minimum value that individual penalty weight can take. |
nCores |
number of cores to use, default to 1. |
transFun |
See details below. |
min.degree |
|
n.cores |
|
trans.fun |
The |
a list of options
glmOrphan()
and glmDegree()
networkOptions(unweighted = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.