regbench_data.enhancer.concatenate#
- regbench_data.enhancer.concatenate(results)#
Concatenates multiple ScreeningResult objects into a single one.
The sample_term_id, sample_name and assembly must be the same for all results.
- Parameters:
results (
list[ScreeningResult] |list[tuple[str,ScreeningResult]]) – The list of ScreeningResult objects to concatenate. Each object can optionally be associated with a string key. The keys are added as a new column ‘source’ in the resulting DataFrame.- Returns:
A new ScreeningResult object containing the concatenated results.
- Return type: