cycombinepy.plotting.plot_density

cycombinepy.plotting.plot_density(adata, markers=None, layer='cycombine_corrected', batch_key='batch', filename=None)[source]

Per-marker density plot colored by batch.

If layer is set and present, the corrected distribution is overlaid alongside the uncorrected adata.X for easy before/after comparison. Mirrors plot_density in R/utils_plotting.R.

Parameters: