-
Notifications
You must be signed in to change notification settings - Fork 15
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
Change symbol and sizes for 384 and 96-well plates? #31
Comments
Hi Mike, It should be possible without making any changes. Any additional arguments you give to the plotting functions are passed to ggplot2's e.g library(platetools)
df = data.frame(val = rnorm(96), well = num_to_well(1:96))
raw_map(df$val, df$well, shape = "square", size = 15) |
Hi Scott Thanks so much for this advice and helper code. Using this, it works a treat. Our 384-well plates are convoluted by interwoven four 96-well plate quadrants, and all now break out nicely into images that make viewing easier (Q4 is a blank). The values scale is wrong - should be 12-14 max - but I think I know how to fix that. Snippet and .png using
Thanks again for the quick response! |
sorry closed by mistake! |
Unless I've misunderstood, your values are unexpected because you're using |
Thanks Scott - I had somehow overlooked |
Hi Scott - is there any way to pass parameters to change the size of the squares in 384-well maps, and swap the circles for squares in 96-well maps? Basically I am considering to reduce the whitespace between the squares in raw_map, and change the symbols in z_grid to also be squares.
I'm not new to R but also not at a particularly advanced level. Looking at the source code for plt384 it seems possible, but wondered if there was a simpler way than trying to adapt it.
Kind regards
mike
The text was updated successfully, but these errors were encountered: