pos-methods: Chromosome position of features

Description Usage Arguments Value Examples

Description

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

Usage

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

Arguments

x

GRanges GenoSet

Value

numeric vector of feature positions within a chromosome

Examples

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

genoset documentation built on Nov. 8, 2020, 6:07 p.m.