tests/sampleCorrelations.matrix.R

library("aroma.light")

# Simulate 20000 genes with 10 observations each
X <- matrix(rnorm(n=20000), ncol=10)

# Calculate the correlation for 5000 random gene pairs
cor <- sampleCorrelations(X, npairs=5000)
print(summary(cor))
HenrikBengtsson/aroma.light-BioC_release documentation built on May 7, 2019, 1:55 a.m.