scglue.num.pcc_mat

scglue.num.pcc_mat(X, Y=None)[源代码]

Pearson’s correlation coefficient (sparse friendly)

参数
返回类型

numpy.ndarray

返回

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.