boundingIndicesByChr(query, subject)
This function differs from boundingIndices in that 1. it uses both start and end positions for the subject, and 2. query and subject start and end positions are processed in blocks corresponding to chromosomes.
Both query and subject must be in at least weak genome order (sorted by start within chromosome blocks).
boundingIndices
,
rangeSampleMeans