Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NiklasTR opened this issue Apr 3, 2018 · 2 comments
Open

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

NiklasTR opened this issue Apr 3, 2018 · 2 comments
Labels

Comments

@NiklasTR
Copy link

NiklasTR commented Apr 3, 2018

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

@Swarchal Swarchal added the bug label Apr 3, 2018
@Swarchal
Copy link
Owner

Swarchal commented Apr 3, 2018

Thanks for the report.

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

@NiklasTR
Copy link
Author

NiklasTR commented Apr 3, 2018

Thank you for looking into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants