calculateCutTimeForGrowthCurve: calculateCutTimeForGrowthCurve

Description Usage Arguments Value Examples

View source: R/calculateCutTimeForGrowthCurve.R

Description

For a given growth curve model, calculates the appropriate cut time for a specific number of doublings

Usage

1
2
calculateCutTimeForGrowthCurve(gcm, baseline_time = 24, no_doublings = 4,
  max_val = 80)

Arguments

gcm

Growth curve model

baseline_time

The timepoint which forms the baseline for calculting number of doublings

no_doublings

The number of doublings required

max_val

The maximum allowable growth curve value

Value

list object containing a single row data frame with the results and a plotted representation

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]])
plotIncucyteDRCSet(test_idrc_set, grouped=TRUE)
test_idrc_set$fitted_models_grouped
test_gcm <- test_idrc_set$fitted_models_grouped$gc_model[[1]]
test_gcm
calculateCutTimeForGrowthCurve(test_gcm, baseline_time=24, no_doublings=4, max_val=80)

IncucyteDRC documentation built on May 29, 2017, 10:33 p.m.

Search within the IncucyteDRC package
Search all R packages, documentation and source code