eset2GenomicAnnotations {PREDA} | R Documentation

## 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"`

### Author(s)

Francesco Ferrari

### See Also

`"GenomicAnnotations"`

### Examples

      ## Not run:
    require("PREDAsampledata")
    data(ExpressionSetRCC)

    GEGenomicAnnotations<-eset2GenomicAnnotations(ExpressionSetRCC,
    retain.chrs=1:22)

    ## End(Not run)

[Package PREDA version 1.38.0 Index]