Skip to contents

This function compares two networks and finds the sets of nodes that best characterize the change in modular structure


alpaca(net.table, file.stem, verbose = FALSE)



A table of edges, with the first column representing the TFs ("from" nodes) and the second column representing the targets ("to" nodes). The third column contains the edge weights corresponding to the control or healthy network, and the fourth column contains the edge weights for the disease network or network of interest.


The folder location and title under which all results will be stored.


Indicates whether the full differential modularity matrix should also be written to a file. Defaults to FALSE. modularity


List where first element is the membership vector and second element is the contribution score of each node to its module's total differential modularity


example_path <- system.file("extdata", "Example_2comm.txt", 
package = "netZooR", mustWork = TRUE)
simp.mat <- read.table(example_path,header=TRUE) 
simp.alp <- alpaca(simp.mat,NULL,verbose=FALSE)