## Not run:
#
# ##suppose the network-related results are stored at:
# netResFileDic = "/home/wanglab/mlDNA/network/"
#
# ##build transcriptional network from the first 1000 genes,
# ##here a higher number of cpus is suggested.
# res <- exp2net( expmat = ControlExpMat[1:1000,], method = "GCC",
# pvalue = 0.01, cpus = 2,
# expDescribe = "Control", connListFlag = TRUE,
# distmatFlag = TRUE,
# saveType = "bigmatrix", netResFileDic = netResFileDic,
# v = rownames(ControlExpMat)[1:10], ##for calculating distance matrix
# to = rownames(ControlExpMat)[100:120] ) ##from "v" to "to"
#
# ## End(Not run)
Run the code above in your browser using DataLab