Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
41f2852
render_plot rework 1: make axis-focused, add rotated label alignment
casblaauw Dec 9, 2025
ad058bc
Declare scipy dependency (was alr used in violin.correlations(), alwa…
casblaauw Dec 10, 2025
edfd2dc
create_plot: add docs, checks, allow multi-plot. also expand render_p…
casblaauw Dec 12, 2025
f0d13bf
render_plot: add axis label/title lists, grid support
casblaauw Dec 12, 2025
08dc7ba
pl.bar axis function rework
casblaauw Dec 12, 2025
84d9bcb
pl.heatmap axis function rework
casblaauw Dec 12, 2025
9ec1532
Simplify correlations_predictions loops
casblaauw Dec 12, 2025
41b3a04
remove bar.prediction whitespace
casblaauw Dec 12, 2025
9d3be90
correlations_predictions make title adjustable
casblaauw Dec 12, 2025
8617bb6
pl.hist axis function rework
casblaauw Dec 12, 2025
2795d1c
fix wrong axis default in distribution
casblaauw Dec 12, 2025
6dcec09
fix duplicated axis calls in region
casblaauw Dec 12, 2025
fb02827
render_plot: fix axis label/title lists
casblaauw Dec 12, 2025
8bf15f0
Add plot_kws & kwargs defaults to docstring + add pred_color/truth_co…
casblaauw Dec 12, 2025
718611e
Add grid to normalization_weights by default
casblaauw Dec 12, 2025
27ed198
Add xlim/ylim to render_plot
casblaauw Dec 12, 2025
b38034a
render_plot: fix grid default alias
casblaauw Dec 13, 2025
3ae9a46
update bar._region docs
casblaauw Dec 13, 2025
0636fd3
pl.locus.locus_scoring axis function rework
casblaauw Dec 13, 2025
445ebfc
pl.locus.track expansion and axis rework
casblaauw Dec 13, 2025
76b7d2b
render_plot: shrink default suptitle slightly
casblaauw Dec 13, 2025
66c2ed7
pl.scatter.class_density expansion and axis rework
casblaauw Dec 16, 2025
af8c8f0
pl.violin.correlations axis rework
casblaauw Dec 16, 2025
9847cbe
render_plot: grid default color improvement
casblaauw Dec 16, 2025
d05d8e7
add create_plot to docs toctree
casblaauw Dec 16, 2025
53b5020
clean up class_density disregarded code
casblaauw Dec 16, 2025
22e3e6d
Clean up violin.correlations whitespace
casblaauw Dec 16, 2025
7356971
render_plot: always apply label size even if label was not changed
casblaauw Dec 16, 2025
2c8d4d4
Add log_transformed to all labels (& add heatmap cbar labels in general)
casblaauw Dec 16, 2025
65795f1
render_plot: Make all xlabel/xtick/etc names consistent w setting par…
casblaauw Dec 16, 2025
293118c
render_plot: add supx/ylabel fontsize
casblaauw Dec 16, 2025
c3b8eb4
pl.patterns.contribution_scores axis rework
casblaauw Dec 16, 2025
c98c80e
render_plot: bugfix missing sup in supylabel
casblaauw Dec 17, 2025
ed8cd84
render_plot: rename tick-args from label to tick
casblaauw Dec 17, 2025
2a2bb6e
pl.patterns.modisco_results axis/render_plot rework
casblaauw Dec 18, 2025
0bad4ce
pl.patterns._enhancer_design render_plot/ax rework
casblaauw Dec 19, 2025
ae16747
Pydocstyle updates
casblaauw Dec 19, 2025
8287cc2
contribution_socres: Add explicit multi-plot ax error msg and remove …
casblaauw Dec 19, 2025
6d35866
Fix docstring typo in locus_scoring
casblaauw Dec 19, 2025
5d7455a
Add highlight_kws to plots with highlights
casblaauw Dec 19, 2025
d43b2f8
Export create_plot
casblaauw Dec 19, 2025
0543fb2
Fix docstring backtick misses
casblaauw Dec 19, 2025
2d7a201
Add bar.prediction to public docs
casblaauw Dec 19, 2025
8f3250c
Fix matplotlib method docstring references
casblaauw Dec 19, 2025
b8e1033
Fix np array type hint
casblaauw Dec 19, 2025
af3cbe7
Fix stupid typo in track type hint
casblaauw Dec 19, 2025
de235a9
Add missing plotting output type hints
casblaauw Dec 19, 2025
ba7bbea
Add region name as default title in barplots
casblaauw Dec 21, 2025
8d09c48
class_density: Rename `colorbar` to `cbar` to match seaborn
casblaauw Dec 21, 2025
c1c95f0
correlations: Add missed cbar_kws argument to docstring
casblaauw Dec 21, 2025
968b529
Clarify default widths for class_density
casblaauw Dec 21, 2025
170d4c6
heatmap: make cbar optional and adjust plot widths
casblaauw Dec 21, 2025
fadd4af
Update docstring examples & figures
casblaauw Dec 21, 2025
3e07ef0
track: Fix bug ignoring class_idxs and update example
casblaauw Dec 21, 2025
7449fd3
Remove temp file
casblaauw Dec 22, 2025
6d07ca5
Split comma arguments in docstrings
casblaauw Dec 22, 2025
34f1954
Add ytick_va and ytick_rotationmode for consistency
casblaauw Jan 5, 2026
9f5eb4b
handle figure kwargs popping within create_plot
casblaauw Jan 5, 2026
f0e5812
Delete accidental ipynb_checkpoints upload
casblaauw Jan 5, 2026
d55af67
Merge branch 'main' into plotting_axes
casblaauw Jan 6, 2026
cbfc488
render_plot: make tight_layout configurable, improve grid docs
casblaauw Jan 27, 2026
15d0ad9
Update contribution_scores type hint to literal
casblaauw Jan 28, 2026
847fbfd
pl.patterns.contribution_scores: Clean up code
casblaauw Jan 28, 2026
ef785c0
pl.patterns.contribution_scores: move processing to separate functions
casblaauw Jan 29, 2026
2c9a308
pl.patterns.contribution_scores: disable per-seq ylim if sharey=True
casblaauw Jan 29, 2026
ca1f4ce
pl.patterns.contribution_scores: make sequence sharey toggleable, fix…
casblaauw Jan 30, 2026
5d313b6
enh_design_contrib_scores: rework function to wrap contrib_scores
casblaauw Jan 30, 2026
95673f3
enh_design_contrib_scores: final cleanup
casblaauw Jan 31, 2026
b9478a7
pl.patterns.contribution_scores: 'sequence' sharey margins to be cons…
casblaauw Jan 31, 2026
9e9f8c4
Add region util funcs to general utils module
casblaauw Jan 31, 2026
66a7e46
Allow coordinates in contribution_scores and track plotting
casblaauw Feb 3, 2026
f8c64c1
contribution_scores: Move coordinate parsing back within loop, increa…
casblaauw Feb 3, 2026
0a8947b
track: support start > end, add strand to xlabel
casblaauw Feb 3, 2026
0c1a3e2
Move from tight_layout to layout='constrained' by default. Improves p…
casblaauw Feb 3, 2026
4c304d1
region_predictions: create plot with create_plot
casblaauw Feb 3, 2026
351b84a
heatmaps: move to 'compressed' layout engine for fixed-aspect plots
casblaauw Feb 3, 2026
133136e
contribution_scores: add base height, update example plot
casblaauw Feb 3, 2026
f662227
track: update example plots
casblaauw Feb 3, 2026
98bc0e3
Update _make_logomaker_df docs
casblaauw Feb 3, 2026
baa5ed3
locus_scoring: rename range to coordinates to stop overlap with funct…
casblaauw Feb 3, 2026
a13b52b
track: add zoom, add highlight_positions
casblaauw Feb 3, 2026
94e4423
Break up long line
casblaauw Feb 3, 2026
d3dbbaf
Move selected_instances to create_plot
casblaauw Feb 3, 2026
f1980b3
Add plot tests
casblaauw Feb 3, 2026
4e57007
Use create_plot in last two modisco_results plots as well
casblaauw Feb 3, 2026
b4d0e3d
Fix RNG of test file generation modern-style
casblaauw Feb 3, 2026
4025009
Try to skip pattern clustering tests if no modiscolite
casblaauw Feb 3, 2026
fec40d0
Remove extra norm weights dimension in new versions of numpy
casblaauw Feb 3, 2026
8c5319f
Revert "Remove extra norm weights dimension ..."
casblaauw Feb 3, 2026
d4d6309
Squeeze out dimension added in modern anndata
casblaauw Feb 3, 2026
353181b
Skip modisco-based tests if not installed
casblaauw Feb 3, 2026
2a40a82
Merge branch 'main' into plotting_axes
casblaauw Feb 4, 2026
1cfbbd0
Add version to deprecation notices
casblaauw Feb 4, 2026
2aa8a9a
violin.correlations: clean up plot_kws
casblaauw Feb 4, 2026
9532429
Make tests check for crested.tl.modisco directly
casblaauw Feb 4, 2026
9fcf3e9
Merge branch 'lazy_loading_message' into plotting_axes
casblaauw Feb 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/_static/img/examples/bar_normalization_weights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/img/examples/bar_prediction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/img/examples/bar_region.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/img/examples/bar_region_predictions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/_static/img/examples/contribution_scores.png
Binary file not shown.
Binary file modified docs/_static/img/examples/heatmap_correlations_predictions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/img/examples/heatmap_self_correlations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/img/examples/hist_distribution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/img/examples/locus_locus_scoring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/_static/img/examples/locus_track.png
Binary file not shown.
Binary file added docs/_static/img/examples/locus_track_bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/img/examples/locus_track_pred.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/img/examples/scatter_class_density.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_static/img/examples/violin_correlations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/api/plotting/bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ Bar plots to inspect per region ground truths and compare them to their predicti

region
region_predictions
prediction
normalization_weights
```
2 changes: 2 additions & 0 deletions docs/api/plotting/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ violin
:toctree: _autosummary

render_plot
create_plot
```

## Patterns: Contribution scores and Modisco results
Expand All @@ -49,6 +50,7 @@ violin
.. autosummary::
bar.region
bar.region_predictions
bar.prediction
bar.normalization_weights
```

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dependencies = [
"seaborn",
"tqdm",
"wandb>=0.12.10",
"scipy",
]

optional-dependencies.dev = [
Expand Down
2 changes: 1 addition & 1 deletion src/crested/pl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Init file for the pl module."""

from . import bar, heatmap, hist, locus, patterns, scatter, violin
from ._utils import render_plot
from ._utils import create_plot, render_plot
Loading