metanet_pipe {metanetwork} | R Documentation |
Execute 'metanetwork' pipeline
Description
Method executing the whole metanetwork pipeline for the initial metanetwork object (append_agg_nets
, compute_TL
,
attach_layout
)
Usage
metanet_pipe(metanetwork, beta = 0.1, verbose = TRUE)
## S3 method for class 'metanetwork'
metanet_pipe(metanetwork, beta = 0.1, verbose = TRUE)
Arguments
metanetwork |
object of class 'metanetwork' |
beta |
the diffusion parameter of the diffusion kernel, a positive scalar controlling the squeezing of the network |
verbose |
a boolean indicating whether message along the pipeline should be printed |
Value
object of class 'metanetwork', with computed trophic levels and layout stored as node attribute
NULL
Examples
library(metanetwork)
library(igraph)
g = make_lattice(dimvector = c(4,4),2,3,directed = TRUE)
meta0 = build_metanet(g)
meta0 = metanet_pipe(meta0)
ggmetanet(meta0)
[Package metanetwork version 0.7.0 Index]