pos,GenoSetOrGenomicRanges-method {genoset} | R Documentation

## Chromosome position of features

### Description

Get chromosome position of features/ranges. Defined as floor of mean of start and end.

### Usage

    ## S4 method for signature 'GenoSetOrGenomicRanges'
    pos(x)

### Arguments

`x` | GRanges GenoSet

### Value

numeric vector of feature positions within a chromosome

### Examples

      data(genoset,package="genoset")
      pos(genoset.ds)  # 1:10
      pos(rowRanges(genoset.ds))  # The same

[Package genoset version 1.38.0 Index]