genoPos {genoset} | R Documentation

## Get base positions of features in genome-scale units

### Description

Get base positions of array features in bases counting from the start of the genome. Chromosomes are ordered numerically, when possible, then lexically.

### Usage

    genoPos(object)

    ## S4 method for signature 'GenoSetOrGenomicRanges'
    genoPos(object)

### Arguments

`object` | A GenoSet object or a GenomicRanges object

### Value

numeric position of each feature in whole genome units, in original order

### Examples

      data(genoset,package='genoset')
      head(genoPos(genoset.ds))
      head(genoPos(rowRanges(genoset.ds)))  # The same

[Package genoset version 1.42.0 Index]