Gathers every tabular artifact of an experiment or report into one
named list, ready for cr_export_tables(). Empty tables are
dropped, so the result reflects what actually exists.
Examples
exp <- cr_example_experiment(seed = 1, n_cells_per_well = 20)
tabs <- cr_tables(exp)
names(tabs)
#> [1] "disposition" "design" "channels"
tabs$disposition
#> # A tibble: 7 × 4
#> treatment n_units n_cells median_cells_per_unit
#> <chr> <int> <int> <dbl>
#> 1 CompoundA_high 16 324 20.5
#> 2 CompoundA_low 16 341 21
#> 3 CompoundB 16 350 23
#> 4 CompoundC 16 335 20
#> 5 PosControl 16 303 19
#> 6 Untreated 16 308 19
#> 7 (total) 96 1961 20