cor.test_eq: Test for no correlation between paired sampes
Description
Permutation test for squared Pearson correlation between to vectors of samples.
Usage
cor.test_eq(x, y, B = 10000)
Arguments
x
first vector to be compared (or two column matrix/data.frame).
y
second vector to be compared (ommit if included in x).
B
integer number of permutations, default = 10000.
Value
A value indicating if the two input vectors are signficantly different.
Details
This is a convenience function combining SMI and significant for the
special case of vector vs vector comparisons. The nullhypothesis is that the correlation
between the vectors is +/-1, while significance signifies a deviance toward 0.
References
Similarity of Matrices Index - Ulf Geir Indahl, Tormod N<U+00E6>s, Kristian Hovde Liland