Learn R Programming

RnBeads (version 1.4.0)

rnb.export.annotation: 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.

Examples

Run this code

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

Run the code above in your browser using DataLab