Description Usage Arguments Value Author(s) Examples
To calculate an adjacency matrix for gene-gene interaction (using correlation/mutual information metric). For gene expression data with M genes and N experiments, the adjacency matrix is in size of MxM. It is optional to get a trimmed adjacency matrix according to the argument net.trim, i.e. mrnet, clr andaracne (from the package minet).
1 | gene.similarity(EXP, measure, net.trim, na.replica = 50)
|
EXP |
Gene expression data in form of a matrix. Row stands for genes and column for experiments. |
measure |
Metric used to calculate similarity between genes: "corr" for correlation, "MI" for mutual information. |
net.trim |
Method used to trim the adjacency matrix: "mrnet", "clr", "aracne" and "none". "mrnet" infers a network using the maximum relevance/minimum redundancy feature selection method; "clr" use the CLR algorithm; "aracne" applies the data processing inequality to all triplets of nodes in order to remove the least significant edge in each triplet. These options come from the package minet, and they are used only for mutual information. "none" indicates no trim operation. It should be chosen when correlation is considered. |
na.replica |
Times of replication for filling NANs in the impute method; default value is 50. The (smooth) bootstrapping approach is used to give an estimation to missing value in the data. |
An adjacency matrix in size of MxM with rows and columns both standing for genes. Element in row i and column j indicates the similarity between gene i and gene j.
Yin Jin, Hesen Peng, Lei Wang, Raffaele Fronza, Yuanhua Liu and Christine Nardini
1 2 3 4 |
Loading required package: minet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.