delnx.pl.violinplotΒΆ
- delnx.pl.violinplot(adata, genes, groupby, splitby=None, plot_type='violin', save=None, show=True, **kwargs)[source]ΒΆ
Create a violin plot for gene expression across groups and splits.
- Parameters:
adata (
AnnData) β Annotated data matrix.groupby (
str) β Column name inadata.obsto group by.splitby (
str|None(default:None)) β Column name inadata.obsto split by.plot_type (
Literal['violin','box','boxen'] (default:'violin')) β Type of plot to generate.save (
str|None(default:None)) β Path to save the figure. If None, does not save.show (
bool(default:True)) β Whether to display the plot.**kwargs β Additional arguments passed to ViolinPlot.
- Return type:
StackBoard