\name{chrIndices} \alias{chrIndices} \title{Get a matrix of first and last index of features in each chromosome} \arguments{ \item{object}{GenoSet, RangedData, or GRanges} \item{chr}{character, specific chromosome name} } \value{ data.frame with "first" and "last" columns } \description{ Sometimes it is handy to know the first and last index for each chr. This is like chrInfo but for feature indices rather than chromosome locations. If chr is specified, the function will return a sequence of integers representing the row indices of features on that chromosome. } \examples{ data(genoset) chrIndices(genoset.ds) chrIndices(locData(genoset.ds)) # The same } \author{ Peter M. Haverty }