rowCors {rcellminer} | R Documentation |
Correlation between ith row of x and ith row of y for all i
rowCors(X, Y)
X |
a matrix |
Y |
a matrix |
a list of two vectors: cor (correlation values) and pval (correlation p-values)
Sudhir Varma, NCI-LMP
a <- matrix(runif(100), nrow=10, ncol=10) b <- matrix(runif(100), nrow=10, ncol=10) c <- rowCors(a, b)