tidyqpcr
tidyqpcr copied to clipboard
Display printable plate schematic for easy plate loading
Create a function that outputs out a modified plate map clearly stating which target probe to place in which row (i.e. target_id as row name) and which columns have the same sample (sample_id as column name). This can be physically printed out to minimise plate loading mistakes.
Different from the output of display_plate how? Can you draw a picture (hand drawn sketch ok) of what you want?
@DimmestP explained, an alternate way to display the same information.
Currently, display_plate names rows A, B, ... and names columns 1, 2, ..., and displays the samle id and target id in the position of each well.
It would be helpful to offer an alternative, naming rows sampleA, sampleB,... and naming columns target1, target2, ... as appropriate for the design, with the well name printed in that position.
Yes, it makes sense to have an additional function for this style of display.
Ok, now we have the display_plate function created, is this still something we want to / could / should do?
I still think it would be a useful function to have that display_plate doesn't solve. display_plate assumes you want aes(x = as_factor(.data$well_col), y = as_factor(.data$well_row)) not aes(x = as_factor(.data$sample_id), y = as_factor(.data$target_id))
Added helper functions to address this in commit 8a7e4d7, display_plate helpers, fixes #74
To be merged soon.