Repository navigation
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2055 +/- ##
==========================================
- Coverage 71.74% 71.01% -0.74%
==========================================
Files 92 92
Lines 11255 11292 +37
==========================================
- Hits 8075 8019 -56
- Misses 3180 3273 +93
|
- made groupby_expand and categories_order compatib
|
Thanks for the PR! While I like the idea of being able to be more flexible around how the dot plots are made, I'm not sure I like the idea of adding more argument specific behavior. That is, I don't like that passing a boolean flag changes the meaning of the values for the What could maybe be done instead is to have an argument for column grouping. Instead of sc.pl.dotplot(adata, var_names='C1QA', groupby=['louvain', 'sampleid'], groupby_expand=True)It could be more like sc.pl.dotplot(adata, var_names='C1QA', group_by='louvain', group_cols='sampleid')I would ideally like a solution here to work for all the other "grouped plots" as well. I'll write a bit more about this in the parent issue. |
…baseplot. - added 'col_groups' to _matrixplot. - If given col_groups, dotplot and matrixplot will use this variables or combo of variables as the x axis.
merge with master
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2055 +/- ##
==========================================
- Coverage 71.87% 71.69% -0.19%
==========================================
Files 98 98
Lines 11496 11538 +42
==========================================
+ Hits 8263 8272 +9
- Misses 3233 3266 +33
|
Hi,
This is for #1876
I added a new variable
groupby_expandto dotplot and baseplot to allow the function using two variables from groupby as x and y axis.Thanks.