In order to determine the statistical significance of the mutual information values between genes we test for each pair of genes the following null hypothesis.
H_0^I: The mutual information between gene i and j is zero.
Because we are using a nonparametric test we need to obtain the corresponding null distribution for H_0^I from a randomization of the data.
'makenull' performs a randomization with the formulated null hypothesis by permuting the sample and gene labels for all genes of the entire expression matrix at once. The vector of the mutual information null distribution is obtained from repeated randomizations for a given number of iterations.
makenull(dataset, nullit=NA, estimator="pearson", disc="equalwidth")
nullit defines the size of the generated null distribution vector used for hypothesis testing of significant edges inferred by c3net. The null distribution of mutual information is generated from sample and gene label randomization.
default number of iterations: nullit=ceiling(10^5/(((genes*genes)/2)-genes)) genes: number of genes
estimators for discrete variables "emp", "mm","sg","shrink"
data(expmat)
null=makenull(expmat, nullit=5)
Run the code above in your browser using DataLab