View source: R/CrossExpression.R
correlation | R Documentation |
Computes Pearson's correlation between pairs of columns. If one matrix is provided, the output is the pairwise correlations between its columns. If two matrices are provided, the output is the pairwise correlations between their columns.
correlation(matrix1, matrix2 = NULL)
matrix1 |
The first input matrix. |
matrix2 |
The second input matrix (optional). |
Returns a correlation matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.