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)

rcellminer documentation built on Nov. 26, 2020, 2:02 a.m.