larry._analysis._growth_rate_grouped_violin_plot

Module Contents

Classes

ViolinPlot

Functions

prepare_data_for_violin_plot(→ dict)

Prep data for the cell fate violin plot.

_set_violinplot_line_colors(violin_plot[, colors])

_annotate_celltype(ax, n, height, celltype, celltype_color)

_annotate_cell_count(ax, n, depth, n_pts, celltype_color)

growth_rate_grouped_violin_plot(adata[, ncols])

Attributes

__module_name__

__author__

__email__

larry._analysis._growth_rate_grouped_violin_plot.__module_name__ = _violin_plot.py
larry._analysis._growth_rate_grouped_violin_plot.__author__
larry._analysis._growth_rate_grouped_violin_plot.__email__
larry._analysis._growth_rate_grouped_violin_plot.prepare_data_for_violin_plot(adata: anndata.AnnData, groupby: str = 'd4_d6_major_fate_annot') dict

Prep data for the cell fate violin plot.

adata

type: anndata.AnnData

groupby

type: str default: “d4_d6_major_fate_annot”

ViolinPlotDataDict

type: dict

class larry._analysis._growth_rate_grouped_violin_plot.ViolinPlot(nplots=3, ncols=3, figsize=1.2, kwargs={})

Bases: vinplots.Plot

_format_ticks(ax, size_major=6, size_minor=6, rm_xticks=True, rm_yticks=False)
_mk_plot(**kwargs)
larry._analysis._growth_rate_grouped_violin_plot._set_violinplot_line_colors(violin_plot, colors=None)
larry._analysis._growth_rate_grouped_violin_plot._annotate_celltype(ax, n, height, celltype, celltype_color)
larry._analysis._growth_rate_grouped_violin_plot._annotate_cell_count(ax, n, depth, n_pts, celltype_color)
larry._analysis._growth_rate_grouped_violin_plot.growth_rate_grouped_violin_plot(adata, ncols=3)