BUS {BUS} | R Documentation

## A wrapper function for matrices of p-value and predicted network

### Description

A wrapper function to calculate the computation of two types of similarities (correlation and mutual information) with two different goals: (i) identification of the statistically significant similarities among the activity of molecules sampled across different experiments (option Unsupervised, U), (ii) identification of the statistically significant similarities between such molecules and other types of information (clinical etc., option supervised, S) .

### Usage

    BUS(EXP, trait = NULL, measure, method.permut = 2, n.replica = 400, net.trim = NULL, thresh = NULL, nflag)

### Arguments

`EXP` | Gene expression data in form of a matrix. Row stands for genes and column for experiments.
`trait` | Trait data in form of a matrix. The row stands for traits and column for experiments.
`measure` | Metric used to calculate similarity: "corr" for correlation, "MI" for mutual information.
`method.permut` | A flag to indicate which method is used to correct permutation p-values, default as 2. See gene.pvalue for details.
`n.replica` | Number of permutations used for the correction of multiple hypothesis testing; default value is 400.
`net.trim` | Method used to trim the network: "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.
`thresh` | Threshold for significance of the corrected p-value. It is used, in the Unsupervised case, to trim the adjacency matrix (contains the results of the gene-gene association based on the chosen metric) and obtain a predicted gene interaction network. In the Supervised case, since no network is predicted, it is set as NULL.
`nflag` | A flag to indicate a gene-gene interaction case (Unsupervised) or a gene-trait interaction case (Supervised); 1 for Unsupervised and 2 for Supervised.

### Value

`similarity` | A matrix of similarity, which could be correlation or mutual information
`single.perm.p.value` | A matrix of single p-values
`multi.perm.p.value` | A matrix of corrected p-values
`net.pred.permut` | Predicted network obtained trimming non-significant values

### Author(s)

Yin Jin, Hesen Peng, Lei Wang, Raffaele Fronza, Yuanhua Liu and Christine Nardini

### See Also

`gene.pvalue`,`gene.trait.pvalue`,`pred.network`

### Examples

    data(copasi)
    mat<-as.matrix(copasi[1:10,])
    rownames(mat)<-paste("G",1:nrow(mat), sep="")
    BUS(EXP=mat,measure="corr",net.trim="none",thresh=0.05,nflag=1)

[Package BUS version 1.43.0 Index]