Skip to content

grid_size seems to do nothing #299

@mcsimenc

Description

@mcsimenc

I would like to make the smallest point smaller when using node_type = "scatter". As I understood the description in the documentation, grid_size controls this, however different values for this parameter seem to have no effect.

Large value for grid_size

# Make data
mat1 = matrix(rexp(100), nrow = 10, ncol = 10)
mat2 = matrix(c(rexp(90, rate = 1), rep(0, 10)), nrow = 10, ncol = 10)

heatmaply(
  x = mat1,
  point_size_mat = mat2,
  grid_size = 1e3,
  node_type = "scatter",
  plot_method = "ggplot"
)
image

Small value for grid_size

heatmaply(
  x = mat1,
  point_size_mat = mat2,
  grid_size = 1e-3,
  node_type = "scatter",
  plot_method = "ggplot"
)
image

Any ideas what I might be doing wrong or is going on?

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