scCustomize icon indicating copy to clipboard operation
scCustomize copied to clipboard

Flip clustered dotplot

Open france-hub opened this issue 3 years ago • 1 comments

Hello Samuel, Thanks for this package! Is there a way to quickly flip a clustered_DotPlot?

Thanks! Francesco

france-hub avatar Oct 28 '22 04:10 france-hub

Hi Francesco,

Thanks for kind words! I’m not sure of how to implement in complexHeatmap. Let me look into it and get back to you.

Best, Sam

samuel-marsh avatar Oct 28 '22 17:10 samuel-marsh

Hi Francesco,

So currently the answer is no, not once plot is created. However, I’m going to work on adding parameter to the function to transpose matrix before plotting which will result in flipped plot. Appreciate your patience as I don’t currently have timeline for fix but will update here when addressed.

Thanks! Sam

samuel-marsh avatar Nov 19 '22 16:11 samuel-marsh

Ok!Thans Samuel!

france-hub avatar Nov 25 '22 22:11 france-hub

Reopening so I can keep track of issue.

samuel-marsh avatar Nov 25 '22 22:11 samuel-marsh

Hi,

Sorry for delay here it's been busy time. The fix for this issue is now live in the dev branch (v1.0.2.9036). The new parameter is called flip and it takes logical input. So setting flip = TRUE will flip it so that rows are idents and features are columns.

I am submitting the package to CRAN soon and this change will also be in new release once that is complete.

If you have any issues with this please let me know and I'll reopen the issue.

Best, Sam

samuel-marsh avatar Dec 19 '22 17:12 samuel-marsh