# Import netcom
library(netcom)
# Network size (number of nodes)
size <- 10
# Divergence parameter
divergence <- 0.237
# Mutation parameter
mutation <- 0.1
# Make network according to the Duplication & Mutation mechanism
make_DM(size = size, net_kind = "matrix", divergence = divergence, mutation = mutation)
Run the code above in your browser using DataLab