Learn R Programming

genoset (version 1.28.2)

genoPos: 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)

## S3 method for class '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

Run this code
data(genoset,package="genoset")
  head(genoPos(genoset.ds))
  head(genoPos(rowRanges(genoset.ds)))  # The same

Run the code above in your browser using DataLab