View source: R/networkAnalyze.R
networkAnalyze | R Documentation |
This function analyzes the topological structure of gene regulation network (GRN) by calculating the "degree", "betweenness", "closeness" and "stress" parameters, and output the centrality values for given genes in each gene categories.
networkAnalyze(grn.data, cate.gene, centrality = c("degree", "betweenness", "stress", "closeness"), mode = c("all","in", "out", "total"))
grn.data |
a data frame with two columns named "TF" and "TG" to specify the genes as transcription regulators (TF) and target genes (TG) being regulated. |
cate.gene |
a list of the five gene categories as nodes in the network, alternatively output by
|
centrality |
charactor string of "degree", "betweenness", "closeness" and "stress" to calculate the
centrality of network built from input |
mode |
character string of "all", "in", "out" and "total", only used when |
data frame with genes and centrality scores.
# load the CellNet GRN and gene categories data(human.grn) data(cate.gene) # specify a tissue-specifc network tissue = "Hspc" degree = networkAnalyze(human.grn[[tissue]], cate.gene = cate.gene, centrality = "degree", mode ="all")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.