GenomicAnnotations2GenomicAnnotationsForPREDA {PREDA} | R Documentation

## generate a GenomicAnnotationsForPREDA object from a GenomicAnnotations object

### Description

generate a new GenomicAnnotationsForPREDA object from a GenomicAnnotations object

### Usage

    # GenomicAnnotations2GenomicAnnotationsForPREDA(.Object,
    # positions=NULL, reference_position_type=NULL)

    GenomicAnnotations2GenomicAnnotationsForPREDA(.Object,
    ... )

### Arguments

`.Object` | An object of class GenomicAnnotations
`...` | See below positions: Vector to specify reference positions for GenomicAnnotationsForPREDA object if not specified with reference_position_type parameter 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.

### Value

A GenomicAnnotationsForPREDA object

### Author(s)

Francesco Ferrari

### See Also

`GenomicAnnotationsForPREDA`

### Examples

     ## Not run:

    GEGenomicAnnotations<-GenomicAnnotationsFromLibrary(annotLibrary
    = "org.Hs.eg.db", retain.chrs=1:22)

      GEGenomicAnnotationsForPREDA<-
      GenomicAnnotations2GenomicAnnotationsForPREDA(
      GEGenomicAnnotations, reference_position_type="median")

    ## End(Not run)

[Package PREDA version 1.38.0 Index]