Swarchal / platetools

An R package for plotting microtitre plates
Other
54 stars 15 forks source link

Add 6, 12, 24, 48 well plates #17

Open Swarchal opened 5 years ago

Swarchal commented 4 years ago

Some issues in the functions that use med_smooth:

I struggled to use some functions (namely b_grid, b_map or bhit_map) because the argument plate still only allows me to a minimum of 96 well.

I was just trying this simple code

df01 <- data.frame(well = num_to_well(1:24),
                   vals = rnorm(24),
                   plate = 1)

df02 <- data.frame(well = num_to_well(1:24),
                   vals = rnorm(24),
                   plate = 2)

df <- rbind(df01, df02)

b_grid(data = df$vals,
       well = df$well,
       plate_id = df$plate,
       plate = 96)

But the problem I find is that the plate colours all the wells, even the ones that I did not want it to be coloured.