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 savednames (
List[str]) – List of either sample names or dataset names for which statistics will be mergedprior_tag (
str) – String identifying the specific combination of prior termsprior_builders (
List[PriorBuilder]) – List of PriorBuilder objects and their corresponding parameterstag (
Optional[str]) – Optional label included to specify dataset for which sample statistics will be merged