GenomicAnnotations2reference_positions {PREDA} | R Documentation

## extract reference positions from the GenomicAnnotations

### Description

extract from the GenomicAnnotations object a vector containing a vector with reference positions

### Usage

    # GenomicAnnotations2reference_positions(.Object,
    # reference_position_type=c("start", "end", "median", "strand.start", "strand.end"),
    # withnames=TRUE)

    GenomicAnnotations2reference_positions(.Object, ...)

### Arguments

`.Object` | Object of class GenomicAnnotations
`...` | See below reference_position_type: Specify which genomic coordinate must be used as reference position for PREDA analysis. Possible values are "start", "end", "median", "strand.start" or "strand.end". "strand.start" is strand specific start: i.e. start on positive strand but end on negative strand. "strand.end" is strand specific end. withnames: Logical, if TRUE the "ids" slot content is used as names for the output vector

### Value

A numeric vector with the selected reference positions.

[Package PREDA version 1.30.0 Index]