Skip to content

scdef.pl.scales

scales(model: scDEF, figsize: Tuple[float, float] = (8, 4), alpha: float = 0.6, fontsize: int = 12, legend_fontsize: int = 10, show: bool = True) -> Optional[Figure]

Plot both cell and gene scales.

Parameters:

Name Type Description Default
model scDEF

scDEF model instance

required
figsize Tuple[float, float]

figure size

(8, 4)
alpha float

transparency level

0.6
fontsize int

font size for labels

12
legend_fontsize int

font size for legend

10
show bool

whether to show the plot

True

Returns:

Type Description
Optional[Figure]

Figure object if show is False, None otherwise