This PR extends and generalizes the existing codebase to include computation of GR static, toxic values and associated GR metrics.
compute_gr_static_toxic is a new feature for computing GR static and toxic values from live and dead cell counts, extending on the work begun in pull request #38.
gr_metrics and _metrics functions now takes gr_value as an argument to specify which GR value (GRvalue, GR_static, GR_toxic) the metrics have to computed on.
The number of non-key columns in the input dataframe have increased to include several additional columns relating to death counts, cell cycle fractions etc. Given that, I thought it was easier to specify the columns by which to group the input dataframe as an argument to gr_metrics.
In _metrics, the input dataframe is first sorted by concentration so that GRmax values are computed correctly.
This PR extends and generalizes the existing codebase to include computation of GR static, toxic values and associated GR metrics.
compute_gr_static_toxic
is a new feature for computing GR static and toxic values from live and dead cell counts, extending on the work begun in pull request #38.gr_metrics
and_metrics
functions now takesgr_value
as an argument to specify which GR value (GRvalue, GR_static, GR_toxic) the metrics have to computed on.gr_metrics
._metrics
, the input dataframe is first sorted by concentration so that GRmax values are computed correctly.