This function computes the INet Algorithm for the construction of a **Consensus Network**.
consensusNet(
adjL,
threshold = 0.5,
tolerance = 0.1,
theta = 0.04,
nitermax = 50,
ncores = 2,
verbose = TRUE
)
a list of 3 types: $graphConsensus the Consensus Network, $Comparison the Jaccard weighted distances between the graphs calculated in each iteration, $similarGraphs the similar graphs before the Thresholding
list of weighted adjacency matrix with the same name in rows and columns for all the matrices.
threshold for the construction of the Consensus (default 0.5). Used in the last step on the similar graphs.
the tolerance of differences between similar graphs for the construction of the Consensus (default 0.1).
importance to give to the neighbourhood part of the weight (default 0.04).
maximum number of iteration before stopping the algorithm (default 50).
number of CPU cores to use (default is 2). We suggest to use ncores equal to the number of graphs to integrate.
flag for verbose output (default as TRUE).
data("adjL_data")
consensusNet(adjL_data)
Run the code above in your browser using DataLab