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 2, 2019, 8:32 a.m.