@@ -1293,6 +1293,7 @@ def partition(
1293
1293
1294
1294
:param data: Array-like, xr.DataArray, xr.Dataset or anndata.Anndata object containing observations.
1295
1295
Input data matrix (observations x features) or (cells x genes).
1296
+
1296
1297
:param gene_names: optional list/array of gene names which will be used if `data` does not implicitly store these
1297
1298
:param sample_description: optional pandas.DataFrame containing sample annotations
1298
1299
"""
@@ -1470,7 +1471,7 @@ def lrt(
1470
1471
reduced_formula_loc : str = None ,
1471
1472
full_formula_loc : str = None ,
1472
1473
reduced_formula_scale : str = None ,
1473
- full_formula_scale : str = None ,
1474
+ full_formula_scale : str = "~1" ,
1474
1475
as_numeric : Union [List [str ], Tuple [str ], str ] = (),
1475
1476
noise_model = "nb" ,
1476
1477
size_factors : np .ndarray = None ,
@@ -1552,7 +1553,7 @@ def wald(
1552
1553
factor_loc_totest : str ,
1553
1554
coef_to_test : object = None , # e.g. coef_to_test="B"
1554
1555
formula_loc : str = None ,
1555
- formula_scale : str = None ,
1556
+ formula_scale : str = "~1" ,
1556
1557
as_numeric : Union [List [str ], Tuple [str ], str ] = (),
1557
1558
noise_model : str = "nb" ,
1558
1559
size_factors : np .ndarray = None ,
0 commit comments