It is effectively a contiguous submatrix of the dosage matrix.
Small chunks might increase computation time while large chunks
might increase IO usage. If you have a small data set, try setting
None. If the data set
is too large but your application will use every sample, try to set
nsamples = None and choose a small value for