I am having a great time using your package. Unfortunately, I am facing an issue using do_GroupwiseDEPlot
. The error is:
Error in grid.Call.graphics(C_downvppath, name$path, name$name, strict): Viewport '-log10(Adjusted P-value)_heatmap_body_1_1' was not found
Traceback:
1. SCpubr::do_GroupwiseDEPlot(sample = dmg, de_genes = de_genes,
. min.cutoff = 1)
2. ComplexHeatmap::draw(ht_list, heatmap_legend_list = list_legends,
. heatmap_legend_side = if (legend.position %in% c("top", "bottom")) {
. "bottom"
. } else {
. "right"
. }, padding = ggplot2::unit(c(5, 5, 5, 5), "mm"), ht_gap = ggplot2::unit(heatmap_gap,
. "cm"))
3. ComplexHeatmap::draw(ht_list, heatmap_legend_list = list_legends,
. heatmap_legend_side = if (legend.position %in% c("top", "bottom")) {
. "bottom"
. } else {
. "right"
. }, padding = ggplot2::unit(c(5, 5, 5, 5), "mm"), ht_gap = ggplot2::unit(heatmap_gap,
. "cm"))
4. .local(object, ...)
5. grid.draw(p)
6. grid.draw.gTree(p)
7. recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
8. drawGTree(x)
9. grid.draw(x$children[[i]], recording = FALSE)
10. grid.draw.grob(x$children[[i]], recording = FALSE)
11. recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
12. drawGrob(x)
13. preDraw(x)
14. preDraw.grob(x)
15. pushvpgp(x)
16. pushgrobvp(x$vp)
17. pushgrobvp.vpPath(x$vp)
18. downViewport(vp, strict = TRUE, recording = FALSE)
19. downViewport.vpPath(vp, strict = TRUE, recording = FALSE)
20. grid.Call.graphics(C_downvppath, name$path, name$name, strict)