Cnv.iter_slices#
missionbio.mosaic.cnv.Cnv.iter_slices
- Cnv.iter_slices(*layers: str, slices: Optional[Iterable[slice]] = None, axis: int = 1, postprocess: Optional[Callable[[...], Any]] = None, n_jobs: Optional[int] = None) Iterator[List[Any]] #
Read layer data slices
- Parameters:
layers – name of the layers to read
slices – slices to read. If None, slices covering whole axis will be generated
axis – axis to slice along
postprocess – function to apply to the read data. If set, the functions output is returned instead of layer data.
n_jobs – number of parallel jobs to use when reading chunked assay. Ignored for in-memory assay
< Class Cnv