ConstructNetwork: Construct the network structure from either Hierarchical...

View source: R/ConstructNetwork.R

ConstructNetworkR Documentation

Construct the network structure from either Hierarchical Network or Barabasi-Albert Network in simulation studies.

Usage

ConstructNetwork(N_genes, Structure)

Arguments

N_genes

the number of genes

structure

"HN": Hierarchical Network or "BAN": Barabasi-Albert Network

Value

Adj

the adjacency matrix of network structure

Examples


N <- 200
Adj <- ConstructNetwork(N, "BAN")
Adj <- ConstructNetwork(N, "HN")

xueweic/APGD documentation built on Sept. 4, 2023, 2:18 a.m.