Contents:
scglue.num.
pcc_mat
Pearson’s correlation coefficient (sparse friendly)
X (Union[ndarray, spmatrix]) – First design matrix
Union
ndarray
spmatrix
Y (Union[ndarray, spmatrix, None]) – Second design matrix (optional)
None
pcc – Pearson’s correlation matrix among columns of X, if only X is given. Pearson’s correlation matrix between columns of X and columns of Y, if both X and Y are given.