plot_values_by_plate: Plot an image of the raw intensities for a plate

Description Usage Arguments Value Examples

View source: R/plot.R

Description

Plot an image of the raw intensities for a plate

Usage

1
2
plot_values_by_plate(plate, hour = NA, color_bounds = c(0, 100),
  color_palatte = c("white", "#fdbb84", "#e34a33"), main = "", cex = 1.5)

Arguments

plate

data frame in format matching that produced by read_incucyte_from_excel.

hour

hour of the experiment to plot. Defaults to NA, plotting all values. If more than one time point has been stored for the data in plate, passing NA will result in an error.

color_bounds

values at which to draw coldest and hottest colors, defaults to c(0, 100)

color_palatte

colors to use for cold-middle-hot, defaults to c("white", "#fdbb84","#e34a33")

main

title to draw above plot, defaults to ""

cex

point size, defaults to 1.5

Value

none

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plate_1 = create_empty_plate( 6, hour=0, plate_id="plate_1")
plate_1[1,1:3] = c(100, 40, 10 )
plate_1[2,1:3] = c(90, 70, 30 )
plot_values_by_plate( plate_1, hour=0 )
# real-world example
pkg = "HTDoseResponseCurve"
fn_data = system.file("extdata", "sample_data_384.xlsx", package = pkg)
plate_data = read_plates_from_Incucyte_export( fn_data, "p1", 
                                               number_of_wells=384)
plot_values_by_plate(plate_data, hour=96)

DavidQuigley/HTDoseResponseCurve documentation built on Jan. 23, 2021, 5:10 a.m.