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

comp.2.cc.fdrR Documentation

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
)

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

Value

a text file

Author(s)

Atsushi Fukushima

References

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

Examples

## Not run: 
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)

## End(Not run)

DiffCorr documentation built on Aug. 25, 2023, 5:16 p.m.