Description Usage Arguments Value Author(s) References See Also Examples
Plot each of the wells in a ddpcrPlate object or
a large data frame of droplets. By default, a density plot is returned for
speed purposes.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34  | facetPlot(
  droplets,
  ch1Label = "Ch1 Amplitude",
  ch2Label = "Ch2 Amplitude",
  cMethod = NULL,
  binwidth = 100,
  pointSize = 0.1,
  plotLimits = list(x = c(1000, 9000), y = c(3000, 13500)),
  showEmptyWells = FALSE
)
## S4 method for signature 'data.frame'
facetPlot(
  droplets,
  ch1Label = "Ch1 Amplitude",
  ch2Label = "Ch2 Amplitude",
  cMethod = NULL,
  binwidth = 100,
  pointSize = 0.1,
  plotLimits = list(x = c(1000, 9000), y = c(3000, 13500)),
  showEmptyWells = FALSE
)
## S4 method for signature 'ddpcrPlate'
facetPlot(
  droplets,
  ch1Label = "Ch1 Amplitude",
  ch2Label = "Ch2 Amplitude",
  cMethod = NULL,
  binwidth = 100,
  pointSize = 0.1,
  plotLimits = list(x = c(1000, 9000), y = c(3000, 13500)),
  showEmptyWells = FALSE
)
 | 
droplets | 
 A   | 
ch1Label | 
 The label for the channel 1 target. Defaults to "Ch1 Amplitude".  | 
ch2Label | 
 The label for the channel 2 target. Defaults to "Ch2 Amplitude".  | 
cMethod | 
 This should be the name or column number of   | 
binwidth | 
 The width of each hexagonal bin in the density plot. Ignored
if   | 
pointSize | 
 If   | 
plotLimits | 
 A list of 2-element vectors with names   | 
showEmptyWells | 
 If   | 
A collection of plots as a ggplot object.
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
The nice log-scaled palette was achieved using http://www.everydayanalytics.ca/2014/09/5-ways-to-do-2d-histograms-in-r.html
By default, each subplot uses the same plotting style as
heatPlot.
1 2 3  | ## Plot a facet wrap of density plots of each well.
krasPlate <- ddpcrPlate(wells=KRASdata)
facetPlot(krasPlate)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.