AbsCor {Oscope}R Documentation

Calculate absolute correlations among gene pairs

Description

Calculate absolute correlations among gene pairs

Usage

AbsCor(DataIn, method="pearson", diagNA=TRUE)

Arguments

DataIn

input data, gene-by-sample matrix

method

"pearson" or "spearman"; default is "pearson"

diagNA

whether replace diagonal values to NA's

Value

Output is a gene-by-gene matrix; the i, j th entry shows the absolute correlation of the ith and jth gene.

Author(s)

Ning Leng

Examples

AbsCor(matrix(rnorm(10),ncol=5))

[Package Oscope version 1.24.0 Index]