Swarchal / platetools

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

add geom_plate to fit into ggplot workflows #15

Open Swarchal opened 5 years ago

Swarchal commented 5 years ago

Would be nice to create a custom geom to fit directly into ggplot2 code, although this will require working with the mess that is ggproto.

Example:

ggplot(df) + 
    geom_plate(aes(well = well, fill = values), plate = 384) + 
    facet_wrap(~plate_id)