You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to convert a clustered Dotplot, which I created with the Clustered_DotPlot() function from the scCustomize library, into a ggplot object. However, when I try to run
as.ggplot(p1)
I get the error:
Error in UseMethod("as.grob") : no applicable method for 'as.grob' applied to an object of class "c('HeatmapList', 'AdditiveUnit')"
Am I doing something wrong or is there a good way of doing this?
Many thanks
Jakob
The text was updated successfully, but these errors were encountered:
Im just asking, because in the package documentation it says:
With this package, we are able to e.g. using 'cowplot' to align plots produced by 'base' graphics, 'ComplexHeatmap', 'eulerr', 'grid', 'lattice', 'magick', 'pheatmap', 'vcd' etc. by converting them to 'ggplot' objects.
So I thought, a heatmap created with the ComplexHeatmap package may also be compatible with ggplotify.
Hi,
I'm trying to convert a clustered Dotplot, which I created with the
Clustered_DotPlot()
function from thescCustomize
library, into a ggplot object. However, when I try to runas.ggplot(p1)
I get the error:
Error in UseMethod("as.grob") : no applicable method for 'as.grob' applied to an object of class "c('HeatmapList', 'AdditiveUnit')"
Am I doing something wrong or is there a good way of doing this?
Many thanks
Jakob
The text was updated successfully, but these errors were encountered: