rowCors {rcellminer} | R 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)

[Package rcellminer version 2.10.2 Index]