runmodule | R Documentation |
runmodule constructs a node-weighted ncRNA network, performs module searching, generates simulation data from random networks, normalizes module scores using simulation data, removes un-qualified modules, and orders resultant modules according to their significance.
runmodule( network, gene2weight, method = c("global", "local"), expr1 = NULL, expr2 = NULL, d = 2, r = 0.1, seletN = NULL, FDR = 1e-14, lambda = 0.5, min.size = 5, maxsize = 15, issymbol = TRUE )
network |
A data frame containing a symbolic edge list of the ncRNA network in which the columns must contain "node_gene_ID", "type", "target_gene_Name" |
gene2weight |
A weigth data frame containing three columns:"type","gene", "weight" the first "type" the type of the gene identifier; lncRNA, miRNA, circRNA and RBP the second gene is unique, gene identifier (should be coordinate with the node symbol used in ncRNA network); the third weight is gene-based p-value or corrected p-value derived from differentially gene analysis or survival analysis |
method |
a character string indicating which the search method is to be computed . One of "global" (default, refer to Heinz method), "local ( refer to GS method)": can be abbreviated |
expr1 |
the expression matrix of the case sample |
expr2 |
the expression matrix of the control sample |
d |
An integer used to define the order of neighbour genes to be searched in the method of the method "local" . This parameter is default set up as 2 |
r |
A float indicating the cut-off for increment during module expanding process in the method of the method "local". Greater r will generate smaller module. Default is 0.1. |
seletN |
a vector: gene identifier IDs, or a gene identifier ID, for example "MIMAT0000461", or c("MIMAT0000461", "ENSG00000250742") |
FDR |
Numeric value, from the false discovery rate a p-value threshold is calculated. P-values below this threshold are considered to be significant The FDR can be used to control the size of the maximum scoring module |
min.size |
An integer: the min numbel of size of the module for user settings in the method of "global", default 5. |
maxsize |
An integer: the max numbel of size of the module for user settings in the method of "global", default 15. |
issymbol |
Boolean value, whether to set the node attribute "symbol"(gene symbol) in the network. |
runmodule
returns a list containing relevant data and results,
including:
GNCW | the node-weighted network used for searching |
module | list of genes comprising each module, named for the seed gene if the method is "local" or the igraph class of the module if the method is "global" |
module.score.matrix | contains Zm, Zn |
Hongbo Shi, Jiayao Li, Qiong Song et al. (2019) Systematic identification and analysis of dysregulated miRNA and transcription factor feed-forward loops in hypertrophic cardiomyopathy
Peilin Jia, Siyuan Zheng, Jirong Rong, Wei Zheng, Zhongming Zhao. (2011) Bioformatics. dmGWAS: dense module searching for genome-wide association studies in protein-protein interaction networks.
Daniela Beisser, Gunnar W. Klau, Thomas Dandekar et al. (2019) BioNet: an R-Package for the functional analysis of biological networks
## Not run: data("dataN") gene2weight <- combinp(dataN[,c("type","logFC","PValue")]) interac <- interStringency(type = "transcription", spec ="hg", stringency = "strict") interac <- interac[,c("node_gene_ID","type","target_gene_ID")] res.list_global <- runmodule(network = interac, gene2weight, method = "global",FDR = 1e-14) res.list_local <- runmodule(network = interac, gene2weight, method = "local",maxsize=15, seletN = "MIMAT0000461") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.