Learn R Programming

PREDA (version 1.18.0)

eset2GenomicAnnotations: Function building a GenomicAnnotations object on an ExpressionSet object

Description

Function building a GenomicAnnotations object on an ExpressionSet object

Usage

# eset2GenomicAnnotations(.Object, retain.chrs, # optionalAnnotations)
eset2GenomicAnnotations(.Object, ...)

Arguments

.Object
ExpressionSet object. The associated annotation library will be used to build a GenomicAnnotations object.
...
See below
retain.chrs:
Numeric vector, containing the list of chromosomes selected for the output GenomicAnnotations object. E.g. set retain.chrs=1:22 to limit the GenomicAnnotations object to chromosomes from 1 to 22. This might be ueseful to limit GenomiAnnotations objects to autosomic chromosomes.

optionalAnnotations:
Character vector to select additional annotations fields to be included into the GenomicAnnotations object.

Value

An object of class "GenomicAnnotations"

See Also

"GenomicAnnotations"

Examples

Run this code
  ## Not run: 
# require("PREDAsampledata")
# data(gaExpressionSetRCC)
# 
# GEGenomicAnnotations<-eset2GenomicAnnotations(gaExpressionSetRCC,
# retain.chrs=1:22)
# 
#   ## End(Not run)

Run the code above in your browser using DataLab