Skip to content

Commit adcfa6d

Browse files
committed
Fix defaults
1 parent f822981 commit adcfa6d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/methods/cellmapper_scvi/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
def preprocess_features(
1212
adata: ad.AnnData,
1313
modality: Literal["GEX", "ADT", "ATAC"],
14-
use_hvg: bool = True,
15-
min_cells_fraction: float = 0.01,
16-
feature_filter_threshold: int = 20000,
14+
use_hvg: bool,
15+
min_cells_fraction: float,
16+
feature_filter_threshold: int,
1717
) -> ad.AnnData:
1818
"""
1919
Preprocess features with optional filtering and HVG selection.
@@ -81,7 +81,7 @@ def get_representation(
8181
use_hvg: bool = True,
8282
adt_normalization: Literal["clr", "log_cp10k"] = "clr",
8383
plot_umap: bool = False,
84-
min_cells_fraction: float = 0.05,
84+
min_cells_fraction: float = 0.01,
8585
feature_filter_threshold: int = 20000,
8686
) -> ad.AnnData:
8787
"""

0 commit comments

Comments
 (0)