merge_statistics.py

mlcg_tk.scripts.merge_statistics.merge_statistics(save_dir, prior_tag, prior_builders, names, tag=None, mol_num_batches=1)[source]

Merges statistics computed for separate datasets or for individual samples of the same dataset.

Parameters:
  • save_dir (str) – Path to directory in which output will be saved

  • names (List[str]) – List of either sample names or dataset names for which statistics will be merged

  • prior_tag (str) – String identifying the specific combination of prior terms

  • prior_builders (List[PriorBuilder]) – List of PriorBuilder objects and their corresponding parameters

  • tag (str) – Optional label included to specify dataset for which sample statistics will be merged