plotDoseResponseCurve: plotDoseResponseCurve

Description Usage Arguments Value Examples

Description

Plots the dose response curve for a given sample id from an IncucyteDRCSet object

Usage

1
plotDoseResponseCurve(idrc_set, sampleid, native = FALSE)

Arguments

idrc_set

IncucyteDRCSet object

sampleid

The sample id to plot

native

deprecated

Value

a ggplot2 object (if native is FALSE) or NULL but draws to open graphics object (if native is TRUE)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
pm_file <- system.file(file='extdata/example.PlateMap', package='IncucyteDRC')
test_pm <- importPlatemapXML(pm_file)
data_file <- system.file(file='extdata/example_data.txt', package='IncucyteDRC')
test_data <- importIncucyteData(data_file, metric='pc')

test_list <- splitIncucyteDRCPlateData(test_pm, test_data, group_columns='growthcondition')

print(test_list)

test_idrc_set <- fitGrowthCurvesGrouped(test_list[[2]])
test_idrc_set <- fitGrowthCurvesIndividual(test_idrc_set)
test_idrc_set <- calculateDRCData(test_idrc_set, cut_time=100)
test_idrc_set <- fitDoseResponseCurve(test_idrc_set)
test_idrc_set <- calculateEC50(test_idrc_set)
plotDoseResponseCurve(test_idrc_set, 'PDD00017273', native=FALSE)

chapmandu2/IncucyteDRC documentation built on May 13, 2019, 3:28 p.m.