rnb.export.annotation {RnBeads} | R Documentation

## rnb.export.annotation

### Description

Export the annotation to a defined format (currently only bed is supported

### Usage

    rnb.export.annotation(fname, type, assembly = "hg19", format = "bed")

### Arguments

`fname` | One-element `character` vector giving the name of the file to contain the annotation data. If this file already exists, it will be overwritten.
`type` | One-element `character` vector giving the name of the region annotation.
`assembly` | Genome assembly of interest. See `rnb.get.assemblies` for the list of supported genomes.
`format` | Output format. currently only `"bed"` is supported.

### Value

`TRUE`, invisibly.

### Author(s)

Fabian Mueller

### Examples

    rnb.export.annotation(tempfile(pattern="promoters",fileext=".bed"),"promoters")

[Package RnBeads version 2.2.0 Index]