platetools icon indicating copy to clipboard operation
platetools copied to clipboard

Error: Column `fill` must be a 1d atomic vector or a list

Open NiklasTR opened this issue 6 years ago • 2 comments

Hi! I recently installed platetools from CRAN and ran a few examples. The first code chunks give the expected result. However, I ran into problems using the raw_grid function to plot some screening data. Here is a test example from your vignette:

This is the input for chunk 4 in vignette.ipynb:

vals <- c(rnorm(96), rnorm(96, mean = 10)) wells <- rep(num_to_well(1:96), 2) plate_id <- rep(c("plate_1", "plate_2"), each = 96)

z_grid(data = vals, well = wells, plate_id = plate_id) + scale_fill_distiller(type = "div") + ggtitle("Two very different plates")

I get this error: Error: Column fill must be a 1d atomic vector or a list

Is this a dplyr problem? I attached my session info. sessioninfo.txt

NiklasTR avatar Apr 03 '18 11:04 NiklasTR

Thanks for the report.

Annoyingly it seems to work fine on my computer. I'll have a proper look at it later.

Swarchal avatar Apr 03 '18 12:04 Swarchal

Thank you for looking into this!

NiklasTR avatar Apr 03 '18 14:04 NiklasTR