rnb.annotation2data.frame {RnBeads} | R Documentation

## rnb.annotation2data.frame

### Description

Transform the specified site, probe or region annotation to `data.frame`.

### Usage

    rnb.annotation2data.frame(annotation.table, add.names = TRUE)

### Arguments

`annotation.table` | Annotation in the form of non-empty `GRangesList` object, as returned by `rnb.get.annotation`.
`add.names` | Flag indicating if element names should be extracted and returned also as a column named `"ID"` in the resulting `data.frame`. Note that element names, if present, are set to be the row names of the table.

### Value

Annotation in the form of a single `data.frame`. The columns in this table include, among other, `"Chromosome"`, `"Start"` and `"End"`.

### Author(s)

Yassen Assenov

### Examples

    library(RnBeads.hg19)
    head(rnb.annotation2data.frame(rnb.get.annotation("probes450")))

[Package RnBeads version 2.10.0 Index]