sccross.data.metacell_regr¶
-
sccross.data.metacell_regr(*adatas, use_rep=None, n_meta=None, skeleton=None, model='Lasso', **kwargs)[source]¶ Metacell-based regression
- 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[DiGraph]) – Skeleton graph determining which pair of features to correlatemodel (
str) – Regression model (should be a class name undersklearn.linear_model)**kwargs – Additional keyword arguments are passed to the regression model
- Return type
- Returns
regr – A skeleton-based graph containing regression weights as edge attribute “regr”