Usage
testNetworkProperties(network,
numRandomNets = 100,
testFunction = "testIndegree",
testFunctionParams = list(),
accumulation = c("characteristic", "kullback_leibler"),
sign.level = 0.05,
drawSignificanceLevel = TRUE,
klBins,
klMinVal = 1e-05,
linkage = c("uniform", "lattice"),
functionGeneration = c("uniform", "biased"),
simplify = FALSE,
noIrrelevantGenes = TRUE,
d_lattice = 1,
zeroBias = 0.5,
title = "",
xlab,
xlim,
breaks = 30,
...)
Arguments
network
A network structure of class BooleanNetwork
numRandomNets
The number of random networks to generate for comparison
testFunction
The name of a function that calculates characteristic values that describe properties of the network. There are two built-in functions: "testIndegree" calculates the in-degrees of states in the network, and "testAttractorRobustness" counts the occurrences
testFunctionParams
A list of parameters to testFunction
. The elements of the list depend on the chosen function.
accumulation
If "characteristic" is chosen, the test function is required to return a single value that describes the network. In this case, a histogram of these values in random networks is plotted, and the value of the original network is inserted as a vertical line
sign.level
if accumulation="characteristic"
, this specifies a significance level for a computer-intensive test. The test is significant if the characteristic value is greater than at least (1-sign.level)*100
% of the characteristic values of
drawSignificanceLevel
If accumulation="characteristic"
and this is true, a vertical line is plotted for the significance level in the histogram.
linkage, functionGeneration, simplify, noIrrelevantGenes, d_lattice, zeroBias
The corresponding parameters of generateRandomNKNetwork
used to generate the random networks. This allows for customization of the network generation process. The three remaining parameters klBins
If accumulation="kullback_leibler"
, the number of bins used to discretize the samples for the Kullback-Leibler distance calculations. By default, each unique value in the samples has its own bin, i.e. no further discretization is performed. T
klMinVal
If accumulation="kullback_leibler"
, this defines the minimum probability for the calculation of the Kullback-Leibler distance to ensure stability of the results.
title
The title of the plots. This is empty by default.
xlab
Customizes label of the x axis of the histogram. For the built-in test functions, the x axis label is set automatically.
xlim
Customizes the limits of the x axis of the histogram. For the built-in test functions, suitable values are chosen automatically.
breaks
Customizes the number of breaks in the
...
Further graphical parameters for hist