pyprobound.plotting

Module of miscellaneous plotting functions.

Functions

contribution(rnd, batch[, kernel, max_split])

Plots the predicted relative contribution of every Binding component.

cooperativity(spacing_matrix[, len_a, len_b])

Plots the cooperativity position bias \(\omega_{a:b}(x^a, x^b)\).

enrichment_plotter(ax, counts_obs, ...[, ...])

Draws the enrichment scatterplot.

heatmap_plotter(dataframes[, title])

Plots a mapping of dataframes as a series of heatmaps.

kd_consistency(experiment, i_index, b_index, ...)

Plots the bound and unbound fractions, binned by predicted Kd.

keff_consistency(experiment, batch[, ...])

Plots the modified fraction, binned by predicted Kd.

kmer_enrichment(experiment, batch[, ...])

Plots the enrichment of k-mers, binned by predicted enrichment.

line_plotter(dataframes[, title])

Plots a mapping of dataframes as a line plot.

logo(psam[, logo_height, width, reverse, ...])

Plots a sequence recognition logo for the given PSAM.

logomaker_plotter(ax, psam[, reverse])

Plots the monomer sequence logo for the given PSAM using Logomaker.

pairwise_plotter(ax, psam[, reverse])

Plots the pairwise heatmap for the given PSAM.

plot_ticks(ax, labels, axis)

Add tick labels using MaxNLocator(integer=True).

posbias(conv1d[, mode])

Plots the position bias profile \(\omega(x)\).

probe_enrichment(experiment, batch[, ...])

Plots the enrichment of sequences, binned by predicted enrichment.

spacing(spacing_matrix[, swap])

Plots the spacing parameter \(\omega_{a:b}(x^a, x^b)\).