scdrs.method._pearson_corr#

scdrs.method._pearson_corr(mat_X, mat_Y)[source]#

Pearson’s correlation between every columns in mat_X and mat_Y.

Parameters:
mat_Xnp.ndarray

First matrix of shape (N,M1).

mat_Ynp.ndarray

Second matrix of shape (N,M2).

Returns:
mat_corrnp.ndarray

Correlation matrix of shape (M1,M2).