newNetworkOptions | R Documentation |
This function creates a reusable list of network calculation arguments/options.
newNetworkOptions(
correlationOptions = newCorrelationOptions(),
# Adjacency options
replaceMissingAdjacencies = TRUE,
power = 6,
networkType = c("signed hybrid", "signed", "unsigned"),
checkPower = TRUE,
# Topological overlap options
TOMType = c("signed", "signed Nowick", "unsigned", "none",
"signed 2", "signed Nowick 2", "unsigned 2"),
TOMDenom = c("mean", "min"),
suppressTOMForZeroAdjacencies = FALSE,
suppressNegativeTOM = FALSE,
# Internal behavior options
useInternalMatrixAlgebra = FALSE)
correlationOptions |
A list of correlation options. See |
replaceMissingAdjacencies |
Logical: should missing adjacencies be replaced by zero? |
power |
Soft-thresholding power for network construction. |
networkType |
network type. Allowed values are (unique abbreviations of) |
checkPower |
Logicel: should the power be checked for sanity? |
TOMType |
One of |
TOMDenom |
Character string specifying the TOM variant to be used. Recognized values are
|
suppressTOMForZeroAdjacencies |
logical: for those components that have zero adjacency, should TOM be set to zero as well? |
suppressNegativeTOM |
Logical: should the result be set to zero when negative? Negative TOM values can occur when
|
newNetworkOptions
useInternalMatrixAlgebra |
logical: should internal implementation of matrix multiplication be used instead of R-provided BLAS? The internal implementation is slow and this option should only be used if one suspects a bug in R-provided BLAS. |
A list of class NetworkOptions
.
Peter Langfelder
newCorrelationOptions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.