Plotting

Plotting#

plot_cnv(mat, ref_cells, regions[, ...])

Plot the SwiftCNV heatmap with chromosome/arm annotations and separate reference/observation panels.

plot_cnv_multi(mat, ref_cells, regions, ...)

Plot matrix divided by groups into a multi-page PDF file with one page per group.

plot_cnv_summary(adata, by[, obsm_key, ...])

Plot a matrix with cells (rows) summarised by by groups using mean or median (mode). **kwargs are passed to plot_cnv().

plot_cnv_from_adata(adata[, obsm_key, var_key])

Helper for calling plot_cnv() from an adata object.

plot_cnv_by_sample(adata[, cell_type_key, ...])

Plot the classification results alongside the CNV heatmap for each sample with cell type annotations.

plot_CNV_density(adata, sample_key[, ...])

Plots malignancy scores distributions per sample.

plot_alluvial(adata[, cell_type_key, col2, ...])

Plot an alluvial diagram showing malignant classification of original cell type labels.