Learn R Programming

PREDA (version 1.18.0)

GenomicAnnotations2GenomicAnnotationsForPREDA: 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

See Also

GenomicAnnotationsForPREDA

Examples

Run this code
 ## Not run: 
#  
# GEGenomicAnnotations<-GenomicAnnotationsFromLibrary(annotLibrary
# = "org.Hs.eg.db", retain.chrs=1:22)
# 
#   GEGenomicAnnotationsForPREDA<-
#   GenomicAnnotations2GenomicAnnotationsForPREDA(
#   GEGenomicAnnotations, reference_position_type="median")
# 
#   ## End(Not run)

Run the code above in your browser using DataLab