enh: Use radius for dotplot Bokeh#34
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #34 +/- ##
==========================================
- Coverage 80.38% 80.20% -0.18%
==========================================
Files 8 8
Lines 571 576 +5
Branches 60 61 +1
==========================================
+ Hits 459 462 +3
- Misses 82 83 +1
- Partials 30 31 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
hoxbro
marked this pull request as ready for review
June 24, 2025 16:38
hoxbro
commented
Jun 24, 2025
Collaborator
Author
|
@droumis can you give this a go? Remember to use the latest dev release of HoloViews. |
Contributor
|
LGTM! Codeimport scanpy as sc
import holoviews as hv
from hv_anndata import Dotmap
import panel as pn
hv.extension("bokeh")
pn.extension()
adata = sc.datasets.pbmc68k_reduced()
sel_marker_genes = {
"CD14+ Mono": ['FCN1'],
"CD16+ Mono": ['FCGR3A'],
"ID2-hi myeloid prog": ['ID2', 'S100A9'],
"cDC2": ['CST3', 'LYZ', 'CLEC10A', 'FCER1A'],
"Lymph prog": ['CD79B', 'IGLL1'],
"B1 B": ['MS4A1', 'BLK'],
"Plasma cells": ['MZB1'],
"CD4+ T activated": ['CD4', 'IL7R'],
"pDC": ['GZMB'],
}
dm = pn.panel(Dotmap(adata=adata, marker_genes=sel_marker_genes, groupby="bulk_labels").opts(responsive=True))
dm.servable()GMT20250625-131809_Clip_Demetris.Roumis.s.Clip.06_25_2025.mp4 |
droumis
approved these changes
Jun 25, 2025
Contributor
|
feel free to merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add radius, which is currently being worked on in holoviz/holoviews#6599
closes #27