Average biological replicates on the data table side.
Source:R/utils.R
      average_biological_replicates_dt.RdAverage biological replicates on the data table side.
Usage
average_biological_replicates_dt(
  dt,
  var,
  prettified = FALSE,
  fixed = TRUE,
  geometric_average_fields = get_header("metric_average_fields")$geometric_mean,
  fit_type_average_fields = get_header("metric_average_fields")$fit_type,
  blacklisted_fields = get_header("metric_average_fields")$blacklisted,
  add_sd = FALSE
)Arguments
- dt
 data.table with Metric data
- var
 String representing additional metadata of replicates
- prettified
 Flag indicating if the provided identifiers in the dt are prettified
- fixed
 Flag indicating whether to add a fix for -Inf in the geometric mean.
- geometric_average_fields
 Character vector of column names in
dtto take the geometric average of.- fit_type_average_fields
 Character vector of column names in
dtthat should be treated as a column with fit type data- blacklisted_fields
 Character vector of column names in
dtthat should be skipped in averaging- add_sd
 Flag indicating whether to add standard deviation and count columns.