scdef.pl.qc ¶
qc(model: scDEF, figsize: Tuple[float, float] = (8, 12), show: bool = True) -> Optional[Figure]
Plot QC metrics for scDEF run.
Plots include: loss over epochs, BRD vs Gini coefficient, learned vs observed
cell scales, learned vs observed gene scales, and biological relevance determination.
If trace diagnostics are available (e.g. n_eff_parents_trace), a
trace-oriented layout is used.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
scDEF
|
scDEF model instance |
required |
figsize
|
Tuple[float, float]
|
figure size in inches |
(8, 12)
|
show
|
bool
|
whether to show the plot |
True
|
Returns: Figure object if show is False, None otherwise