Skip to content

balloonplot #5

@ggrothendieck

Description

@ggrothendieck

balloonplot does not work with grid.echo even though other classic graphics plots do. There was once a similar error in ggplot2 discussed here: tidyverse/ggplot2#3483

library(cowplot)
library(gplots)
library(grid)
library(gridGraphics)

# works
tab <- table(mtcars[1:10, 1:2])
heatmap(tab)
grid.echo()
p1 <- grid.grab()
plot_grid(p1)

# gives error
library(gplots)
balloonplot(tab)
p2 <- grid.echo()
## Error in checkNA("cex") : 
##  mixture of missing and non-missing values for cex

plot_grid(p2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions