sccross.data.metacell_corr¶
-
sccross.data.metacell_corr(*adatas, use_rep=None, n_meta=None, skeleton=None, method='spr')[source]¶ Metacell based correlation
- Parameters
*adatas – Datasets to be correlated, where
.Xare raw counts (indexed by domain name)use_rep (
Optional[str]) – Data representation based on which to cluster meta-cellsskeleton (
Optional[Graph]) – Skeleton graph determining which pair of features to correlatemethod (
str) – Correlation method, must be one of {“pcc”, “spr”}
- Return type
- Returns
corr – A skeleton-based graph containing correlation as edge attribute “corr”