Open Hrovatin opened 1 year ago
Great tutorial, thank you, Karin! Maybe it makes sense to set the background for figures to white at the beginning of the notebook. Currently it is transparent, which looks weird when using Github's dark theme:
Also, I would suggest some standardization regarding how to call variables with Axes. In some places, they are called axes
, and in some axs
. I believe, axes
is a more common approach.
And I believe, it is good to stick to PEP8 style in the code to teach the users good ;)
Hi I was wondering if it is possible to split the dotplot bases on condition? i.e you have cell type on x axis, gene on y axis, but have 2 dots per pairing (one for each condition)? I couldn't find documentation on how to do it, although seems like its mentioned here?
Hi, @flying-sheep . As a workaround, you can create an additional column in .obs
, which would be a concatenated cell type + condition. E.g. "Tcell_healthy", "Tcell_disease". Then just build a dotplot normally with this column