rnb.export.all.annotation {RnBeads} | R Documentation

## rnb.export.all.annotation

### Description

Wrapper for exporting all annotation sets

### Usage

    rnb.export.all.annotation(
      out.dir,
      types = c("CpG", rnb.region.types(assembly)),
      assembly = "hg19",
      format = "bed"
    )

### Arguments

`out.dir` | The directory to write the files to
`types` | 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

    logger.start(fname=NA)
    rnb.export.all.annotation(tempdir(),c("genes","promoters"))

[Package RnBeads version 2.12.2 Index]