splicejac.plot.sensitivity

plotting resources for sensitivity analysis

Module Contents

Functions

regression_sens(adata[, font_size, legend_font, ...])

Plot the summary of spliceJAC inference as a function of regression methods and parameters

sampling_sens(adata[, font_size, legend_font, ...])

Plot the summary of spliceJAC inference sensitivity to subsampling of cells in each cell state

subsample_stability(adata[, font_size, dist_color, ...])

Summary plot of the robustness of spliceJAC inference over multiple inferences with a fraction of the total

splicejac.plot.sensitivity.regression_sens(adata, font_size=10, legend_font=10, title_font=12, legend_loc='best', showfig=None, savefig=None, format='pdf', figsize=(12, 4))

Plot the summary of spliceJAC inference as a function of regression methods and parameters

adata: ~anndata.AnnData

count matrix

font_size: int (default: 10)

fontsize of axes and legend labels

legend_font: int (default=12)

font size of legend

title_font: int (default=12)

font size of title

legend_loc: str (default=’best’)

legend location

showfig: Bool or None (default: None)

if True, show the figure

savefig: Bool or None (default: None)

if True, save the figure using the savefig path

format: str (default: ‘pdf’)

figure format

figsize: tuple (default: (12,4))

size of figure

None

splicejac.plot.sensitivity.sampling_sens(adata, font_size=10, legend_font=10, legend_loc='best', showfig=None, savefig=None, format='pdf', figsize=(12, 4))

Plot the summary of spliceJAC inference sensitivity to subsampling of cells in each cell state

adata: ~anndata.AnnData

count matrix

font_size: int (default: 10)

fontsize of axes and legend labels

legend_font: int (default=10)

font size of legend

legend_loc: str (default=’best’)

legend location

showfig: Bool or None (default: None)

if True, show the figure

savefig: Bool or None (default: None)

if True, save the figure using the savefig path

format: str (default: ‘pdf’)

figure format

figsize: tuple (default: (12,4))

size of figure

None

splicejac.plot.sensitivity.subsample_stability(adata, font_size=10, dist_color='firebrick', sign_color='seagreen', eig_color='mediumturquoise', showfig=None, savefig=None, format='pdf', figsize=(12, 4))

Summary plot of the robustness of spliceJAC inference over multiple inferences with a fraction of the total number of cells in each cell state

Details on accepted colors for pyplot boxplot can be found at: https://matplotlib.org/stable/gallery/color/named_colors.html

adata: ~anndata.AnnData

count matrix

font_size: int (default: 10)

fontsize of axes and legend labels

dist_color: str (default: ‘firebrick’)

face color for jacobian distance boxplot

sign_color: str (default: ‘seagreen’)

face color for wrong sign boxplot

eig_color: str (default: ‘mediumturquoise’)

face color for positive eigenvalues boxplot

showfig: Bool or None (default: None)

if True, show the figure

savefig: Bool or None (default: None)

if True, save the figure using the savefig path

format: str (default: ‘pdf’)

figure format

figsize: tuple (default: (12,4))

size of figure

None