Plotting pl

Plotting pl#

Visualization functions for seqlet analysis and motif exploration.

pl.tsne(adata[, color_by, alpha, s, ...])

Visualize seqlet clusters in t-SNE space as a scatter plot.

pl.tsne_logos(adata[, patterns, color_by, ...])

Visualize seqlet clusters in t-SNE space with sequence logos at cluster centroids.

pl.dbd_heatmap(adata[, annotation_col, ...])

Create a clustered heatmap showing seqlet counts per cell type and DNA-binding domain.

pl.dbd_topic_heatmap(adata[, ...])

Plot heatmap of average topic probabilities grouped by DNA-binding domain (DBD).

pl.region_contributions(adata[, ...])

Visualize contribution scores for a full genomic region with annotated seqlet regions.

pl.pattern_logos(patterns[, group_by, ...])

Draw a grid of sequence logos for patterns.

pl.region_topic_tsne(adata[, ...])

Plot t-SNE visualization of regions colored by topic probabilities.

pl.region_tsne(region_adata[, obsm_key, ...])

Plot a 2D embedding (t-SNE or other) of region_adata coloured by a categorical variable.

pl.plot_top_motifs(profiles, region_cluster)

Plot top N=10 motifs for a region cluster based on total attribution as defined by the profile dataframe.

pl.code_table_dotplot(adata, ...[, ...])

Dot plot of a cell type-level enhancer code, with one value as dot size and another as color.

pl.code_table_tf_expression_dotplot(...[, ...])

Dot plot of an enhancer code against TF expression, one row per (cluster, TF) pair.

pl.render_plot(fig[, width, height, title, ...])

Render a plot with customization options.