rowCors: Row-wise correlations

View source: R/rowCors.R

rowCorsR Documentation

Row-wise correlations

Description

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

Usage

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

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. 11, 2024, 8:45 a.m.