rfmix_reader.Chunk¶
- class rfmix_reader.Chunk(nsamples=1024, nloci=1024)[source]¶
Chunk specification for a contiguous submatrix of the haplotype matrix.
- Parameters:
Notes
Small chunks may increase computational time, while large chunks may increase memory usage.
For small datasets, try setting both nsamples and nloci to None.
For large datasets where you need to use every sample, try setting nsamples=None and choose a small value for nloci.
- __init__(nsamples=1024, nloci=1024)¶
Methods
__init__([nsamples, nloci])Attributes
nlocinsamples