quail.stack_eggs¶
- quail.stack_eggs(eggs, meta='concatenate')[source]¶
Takes a list of eggs, stacks them and reindexes the subject number
- Parameters:
- eggslist of Egg data objects
A list of Eggs that you want to combine
- metastring
Determines how the meta data of each Egg combines. Default is ‘concatenate’ ‘concatenate’ concatenates keys in meta data dictionary shared between eggs, and copies non-overlapping keys ‘separate’ keeps the Eggs’ meta data dictionaries separate, with each as a list index in the stacked meta data
- Returns:
- new_eggEgg data object
A mega egg comprised of the input eggs stacked together