exportDRCDataToPRISM

Description

Exports data in PRISM format for an IncucyteDRCSet

Usage

1
2
exportDRCDataToPRISM(idrc_set, include_control = FALSE,
  add_metadata = FALSE)

Arguments

idrc_set

IncucyteDRCSet object

include_control

Whether to include control sample as zero conc control

add_metadata

Whether or not to merge IncucyteDRCSet metadata into the output

Value

IncucyteDRCSet object

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)
exportDRCDataToPRISM(test_idrc_set)
exportDRCDataToPRISM(test_idrc_set, include_control=TRUE)
exportDRCDataToPRISM(test_idrc_set, include_control=TRUE, add_metadata=TRUE)