Learn R Programming

DiffCorr (version 0.4.3)

comp.2.cc.fdr: Export differential correlations between two conditions

Description

Export differential correlations of comparison of two correlation matrices

Usage

comp.2.cc.fdr(
  output.file = "res.txt",
  data1,
  data2,
  method = "pearson",
  p.adjust.methods = "local",
  threshold = 0.05
)

Value

a text file

Arguments

output.file

can specify file name of the results exported

data1

data matrix under condition 1

data2

data matrix under condition 2

method

c("pearson", "spearman", "kendall")

p.adjust.methods

c("local", holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none")

threshold

a threshold of significance levels of differential correlation

Author

Atsushi Fukushima

References

Fukushima, A. Gene (2013) 518, 209-214

Examples

Run this code
if (FALSE) {
data(AraMetRoots)
AraMetRoots[AraMetRoots==0] <- NA
AraMetRootsImp <- completeObs(pca(log2(AraMetRoots), nPcs=3, method="ppca"))
comp.2.cc.fdr(output.file="res.txt", AraMetRootsImp[,1:17], method="spearman",
              AraMetRootsImp[,18:37], threshold=0.05)
}

Run the code above in your browser using DataLab