ropensci / tidyqpcr

quantitative PCR analysis in the tidyverse
https://docs.ropensci.org/tidyqpcr/
Other
49 stars 18 forks source link

Display printable plate schematic for easy plate loading #74

Open DimmestP opened 3 years ago

DimmestP commented 3 years ago

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.

ewallace commented 3 years ago

Different from the output of display_plate how? Can you draw a picture (hand drawn sketch ok) of what you want?

ewallace commented 3 years ago

@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.

ewallace commented 2 years ago

Ok, now we have the display_plate function created, is this still something we want to / could / should do?

DimmestP commented 2 years ago

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))

ewallace commented 3 months ago

Added helper functions to address this in commit 8a7e4d7, display_plate helpers, fixes #74

To be merged soon.