AbsCor {Oscope} | R Documentation |
Calculate absolute correlations among gene pairs
AbsCor(DataIn, method="pearson", diagNA=TRUE)
DataIn |
input data, gene-by-sample matrix |
method |
"pearson" or "spearman"; default is "pearson" |
diagNA |
whether replace diagonal values to NA's |
Output is a gene-by-gene matrix; the i, j th entry shows the absolute correlation of the ith and jth gene.
Ning Leng
AbsCor(matrix(rnorm(10),ncol=5))