rnb.export.annotation: rnb.export.annotation

Description Usage Arguments Value Author(s) Examples

View source: R/annotations.R

Description

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

Usage

1
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

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

RnBeads documentation built on March 3, 2021, 2 a.m.