INNER CODE UNIT · Python
beta_tol
scverse/PyDESeq2 · src/pydeseq2/dds.py:182
beta_tol: float = 1e-8,
n_cpus: int | None = None,
inference: Inference | None = None,
quiet: bool = False,
low_memory: bool = False,
) -> None:
# Initialize the AnnData part
if adata is not None:
if counts is not None:
warnings.warn(
"adata was provided; ignoring counts.", UserWarning, stacklevel=2
)
if metadata is not None:
warnings.warn(
"adata was provided; ignoring metadata.", UserWarning, stacklevel=2
)
# Test counts before going further
adata_counts = cast(np.ndarray, adata.X)