We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f822981 commit adcfa6dCopy full SHA for adcfa6d
src/methods/cellmapper_scvi/utils.py
@@ -11,9 +11,9 @@
11
def preprocess_features(
12
adata: ad.AnnData,
13
modality: Literal["GEX", "ADT", "ATAC"],
14
- use_hvg: bool = True,
15
- min_cells_fraction: float = 0.01,
16
- feature_filter_threshold: int = 20000,
+ use_hvg: bool,
+ min_cells_fraction: float,
+ feature_filter_threshold: int,
17
) -> ad.AnnData:
18
"""
19
Preprocess features with optional filtering and HVG selection.
@@ -81,7 +81,7 @@ def get_representation(
81
use_hvg: bool = True,
82
adt_normalization: Literal["clr", "log_cp10k"] = "clr",
83
plot_umap: bool = False,
84
- min_cells_fraction: float = 0.05,
+ min_cells_fraction: float = 0.01,
85
feature_filter_threshold: int = 20000,
86
87
0 commit comments