scviva.pl.scviva_de.plot_niche_de_decision_boundary#
- scviva.pl.scviva_de.plot_niche_de_decision_boundary(results, X=None, y=None, filter=None, background_filter=None, markersize=50, fontsize=10, chosen_colormap='seismic', path_to_save=None, show_plot=True, dpi=1000, margin=0.1, manual_limits=None, legend_loc='upper right')[source]#
Plot the results of the niche differential expression analysis.
- Parameters:
results (
DifferentialExpressionResults) – FittedDifferentialExpressionResults.X (
DataFrame|None) – Design matrix: log fold changes for group 1 vs group 2 and neighbors 1 vs group 2. If None, the design matrix from the classifier is used.y (
Series|None) – Labels: FDR values for group 1 vs neighbors 1. If None, the labels from the classifier are used.background_filter (
Iterable|None) – Genes to include in the plot as background.markersize (
int) – Size of the markers.fontsize (
int) – Font size for the gene names.chosen_colormap (
str) – Colormap to use for the decision boundary.show_plot (
bool) – Whether to show the plot. Default: True.dpi (
int) – Resolution of the saved plot.margin (
float) – Margin to add to the plot limits.legend_loc (
str) – Location of the legend.
- Return type:
None