Learn R Programming

Starr (version 1.28.0)

whichIn: Map positions to intervals

Description

This function provides efficient mapping of positions to intervals. It is used to calculate the ChIP-profiles of annotated features.

Usage

whichIn(pos,bounds)

Arguments

pos
a vector, containing the positions
bounds
a vector, containing the boundaries