Entering edit mode
6 days ago
Hi, currently im using ArchR i got this error while creating heatmap
ComplexHeatmap::draw(heatmapEM, heatmap_legend_side = "bot", annotation_legend_side = "bot")
ERROR occurs
Error in grid.Call.graphics(C_downvppath, name$path, name$name, strict): Viewport 'Norm. Enrichment -log10(P-adj) [0-Max]_heatmap_body_1_1' was not found Traceback:
- ComplexHeatmap::draw(heatmapEM, heatmap_legend_side = "bot", . annotation_legend_side = "bot")
- .local(object, ...)
- draw(ht_list, ...)
- draw(ht_list, ...)
- .local(object, ...)
- grid.draw(p)
- grid.draw.gTree(p)
- recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
- drawGTree(x)
- grid.draw(x$children[[i]], recording = FALSE)
- grid.draw.grob(x$children[[i]], recording = FALSE)
- recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
- drawGrob(x)
- preDraw(x)
- preDraw.grob(x)
- pushvpgp(x)
- pushgrobvp(x$vp)
- pushgrobvp.vpPath(x$vp)
- downViewport(vp, strict = TRUE, recording = FALSE)
- downViewport.vpPath(vp, strict = TRUE, recording = FALSE)
- grid.Call.graphics(C_downvppath, name$path, name$name, strict) ... . switch(on_error, continue = invokeRestart("eval_continue"), . stop = invokeRestart("eval_stop"), error = NULL) . }, "Viewport 'Norm. Enrichment -log10(P-adj) [0-Max]_heatmap_body_1_1' was not found", . base::quote(grid.Call.graphics(C_downvppath, name$path, name$name, . strict))) Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
Is this the actual error output or did you manually number the code steps? If latter, please edit the post and post actual code (without the numbers).
Select the
code
portion in your post by highlighting text and then use101010
button in the edit window to format ascode
.Ok Thank You for your suggestion@GenoMax