Skip to contents

Builds the GrowthRates SummarizedExperiment consumed by apply_fit with data_type = "time-course-metrics": rows are (Drug, partner drug/concentration slots, CellLine) — so every combination arm is fitted as its own dose-response curve — and columns are the period names. Control and zero-concentration rows are dropped, since they carry no dose-response information.

Usage

growth_rates_to_se(growth_dt)

Arguments

growth_dt

data.table; output of compute_growth_rates.

Value

A SummarizedExperiment with a GrowthRates assay holding Concentration, the partner concentrations, NormalizedGrowthRate and normalization_type per cell.

Examples

if (FALSE) { # \dontrun{
growth_dt <- compute_growth_rates(se_tc, periods, norm_map)
se_gr <- growth_rates_to_se(growth_dt)
} # }