SampleGroup.apply

SampleGroup.apply#

missionbio.mosaic.samplegroup.SampleGroup.apply

SampleGroup.apply(func: Callable, args_list: Optional[Iterable] = None, kwargs_list: Optional[Iterable] = None) List[Any]#

Apply provided function to all items

Parameters:
func:

Function to which all items are passed

args_list:

List of arguments for each sample

kwargs_list:

List of keyword arguments for each sample

Returns:
List of returned values

< Class SampleGroup