platetools
platetools copied to clipboard
Error: Column `fill` must be a 1d atomic vector or a list
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
Thanks for the report.
Annoyingly it seems to work fine on my computer. I'll have a proper look at it later.
Thank you for looking into this!