scglue.num.pcc_mat

scglue.num.pcc_mat(X, Y=None)[source]

Pearson’s correlation coefficient (sparse friendly)

Parameters
Return type

numpy.ndarray

Returns

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.