rowCors: Row-wise correlations

Description Usage Arguments Value Author(s) Examples

View source: R/rowCors.R

Description

Correlation between ith row of x and ith row of y for all i

Usage

1
rowCors(X, Y)

Arguments

X

a matrix

Y

a matrix

Value

a list of two vectors: cor (correlation values) and pval (correlation p-values)

Author(s)

Sudhir Varma, NCI-LMP

Examples

1
2
3
a <- matrix(runif(100), nrow=10, ncol=10)
b <- matrix(runif(100), nrow=10, ncol=10)
c <- rowCors(a, b)

cannin/rcellminer documentation built on Aug. 3, 2021, 8:51 p.m.