scglue.num.spr_mat
- scglue.num.spr_mat(X, Y=None)[源代码]
Spearman’s rank correlation
- 参数:
X (
typing.Union
[numpy.ndarray
,scipy.sparse._matrix.spmatrix
]) – First design matrixY (
typing.Union
[numpy.ndarray
,scipy.sparse._matrix.spmatrix
,None
]) – Second design matrix (optional)
- 返回类型:
- 返回:
spr – Spearman’s correlation matrix among columns of X, if only X is given. Spearman’s correlation matrix between columns of X and columns of Y, if both X and Y are given.